I had solution which consisted of two projects – ProjectName and ProjectName v2.0 At the beginning I didn’t use the version control so I duplicated everything (copied Project name and named it ProjectName v2.0). After a while I started to use Git and added the folder v2.0 (Git add “ProjectName v2.0”).
Later on I deleted the original folder (ProjectName) and renamed ProjectName v2.0 to ProjectName.
Now when I run Git it displays notifications:
deleted:….
Does anyone know what is the best way to reorganize the repository in order not to display these messages in this case?
Thanks!
You can’t avoid “deleted” messages if you delete things from a repository 🙂
What you should have probably done (although it would now require some fairly major tree surgery) is replaced all of the files from ProjectName with those from ProjectName v2.0. If you started v2.0 while still working on v1, then you’d need to branch at the point you started 2.0. All in all, it would be fairly awkward to try to fix, especially if commits need splitting or re-organising, and if there’s no clear path between v1 and v2.