I have created a git repo in a folder that had spaces and some non-ascii symbols in its name. Bad idea, I know, but I thought it's 2011 and mature programs can tolerate such things. Never had any problems with it btw. However, I decided to move it to a more proper folder. I also created a new branch, and started working on it. And, it's got a submodule.
Now, when I try switching back to master (git checkout master), it says,
fatal: Not a git repository: F:/������ �����/Visual Studio 2008/Projects/OpenSource/Fubu/fubumvc/.git/modules/buildsupport
How do I fix it?
There are two text files per submodule that need to be edited:
.git\modules\<module>\config
<module>\.git
Where <module>
is the name of a submodule.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With