Cannot check git after moving folder

I created a git repository in a folder with spaces and some non-ascii characters in my name. A bad idea, I know, but I thought it was 2011, and mature programs can tolerate such things. There has never been any problem with this. However, I decided to move it to a more appropriate folder. I also created a new branch and started working on it. And he got a submodule.

Now when I try to return to the wizard (git check wizard), it says:

fatal: Not a git repository: F:/ /Visual Studio 2008/Projects/OpenSource/Fubu/fubumvc/.git/modules/buildsupport

How to fix it?

+4
source share
1 answer

There are two text files for each submodule that you need to edit:

 .git\modules\<module>\config <module>\.git 

Where <module> is the name of the submodule.

+10
source

Source: https://habr.com/ru/post/1382124/


All Articles