'How to move a project to another folder by Git in Visual Studio
I have solution that looks like this in Visual Studio and I committed them in Git:
--project.a
--project.b
How should I move them (to for example srcFolder) to look like the following without loosing Git history:
--srcFolder
---project.a
---project.b
Solution 1:[1]
Apparently "Git will automatically detect the move/rename if your modification is not too severe.".
Note the very important comment to that answer by marczych that if you first stage the changes they will then show up as a move.
(This operation worked fine in Visual Studio 2019.)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | SharpC |
