Make Xcode 5 after the story after git rename the file

I am trying to figure out how to properly rename files using git when using Xcode.

I did a test project with several commits, then renamed the file to Xcode, confirmed that the git status said that it was renamed, and then transferred outside of Xcode. This was in accordance with this answer to the SO question ( Handling file renames in git ).

Let's go back to Xcode, try to look at the history of this file before changing the name (in the version editor assistant window), and I get the error message "This file does not exist in the index". Although this is true, the file did not exist at that moment, its predecessor did. When I go to the terminal and run git log --follow myFile.m, I see all the commits, even those that were before renaming. So the story exists, but Xcode doesn't seem to know how to find it.

How can you keep track of file renaming in git version control system using Xcode?

PS. It seems that the fault function can see before the name change, but the version editor cannot.

+4
source share
1

, matt Git.

, , , GitX rowanj.

.

TY Xcode , git - -!

0

Source: https://habr.com/ru/post/1537305/


All Articles