In folder D:\projects\A I have the .git folder for A. Is there a way to move it to D:\gitfolder\A? I found these similar questions:
- Can I store the .git folder outside the files I want tracked? but it's about creating a new init in a different folder, not moving it
- How to move a git repository into another directory and make that directory a git repository? but it's about moving D:\projects\A, not the .git folder inside it
So far I've moved the .git folder already. In D:\gitfolder\A git status works fine, but I'm not sure if it can add new files created in D:\projects\A or not.
If possible I would like to be able to still use git commands in D:\projects\A as if the move didn't happen.
