I have a Visual Studio solution that includes 12 projects. The code is hosted on Azure DevOps using git
. I’ll admit I’m not an expert of git.
I I’ve created some branches from the “master” branch. I kept working normally both on the new branches and on the master, making some commits.
Then, unfortunately and without thinking, I moved some projects from their folders to other folders and then kept working on branches and merging them into master, without noticing anything. Then I realised that some files were missing, some changes made previously were gone and some files contained unwanted changes. Probably this happened after I merged branches into master after I moved projects…
Now my question is: is it possible to remove the commit that moved projects into other folders, applying the changes of the subsequent commits? How?