I moved a couple of files that are in my project, but I did the move inside finder on my mac. I see that git source control treated the files as an add.
I haven't done a commit yet. git status shows the following:
- Under Changes to be committed, the updated/moved files are listed as new files
- Under the Changes not staged for commit, the updated/moved files are listed as modified, the original files are listed as deleted.
Now when I do a version compare with these files in Xcode, the viewer has no history.
I looked at the accepted answer here and tried git log --follow ./pathtomynewfile
. That gave no result.
Viewing changes in the version editor has become a valuable tool, and I would like to continue under these circumstances.
What can I do to tie to old version history to the new, relocated version?