If your Exploratory Repository is set to a location on a network drive, or if you keep the project folder (the projects folder under .exploratory) as a symbolic link that points to a network drive, you may see the following error when you create a project.
Command failed: git init && git config user.name xxxxx && git config user.email xxxxx && git add --all && git -c commit.gpgsign=false commit --no-verify -m "[\"CREATE_PROJECT\",\"Project Name\"]"
fatal: not in a git directory
Cause
In both cases, Exploratory is likely unable to access the folder on the network drive properly.
- If the repository is on a network drive: some of the steps needed to create a project may not work correctly on a network drive.
- If the project folder is a symbolic link to a network drive: the network drive that the link points to may not be connected to your PC (for example, it was not reconnected automatically when the PC started).
Solution
If your repository is on a network drive, set your Exploratory Repository to a local drive on your PC instead. For details, see this post:
If you want to keep your project data on a network drive, keep the repository on a local drive and place only the project folder on the network drive:
If you already keep only the project folder on a network drive through a symbolic link, try the following:
- Quit Exploratory.
- In File Explorer, open the network drive that the symbolic link points to, and check that you can see its contents (that it is connected).
- If it is not connected, reconnect the network drive.
- Start Exploratory and create the project again.
Even when the error appears, the project itself may have been created. Check whether the project is listed in the project list and whether you can open it.
Notes
- When you map a network drive in Windows, selecting “Reconnect at sign-in” helps the drive connect automatically when the PC starts.