Git - will the file moves be detected?
- by Ben Aston
I performed some modifications on a branch (A).
I then decided to create a brand new branch (B) based on the state of my existing working copy and commit and push to that.
There were a number of files that had been moved during my earlier refactoring, and hence were now not included in version control having been moved directly in the filesystem. By accident I did not add these files to git before committing and pushing to the new branch (B).
If I now add these files and commit and push, will Git be able to detect the file move operations?