20

In earlier versions of Xcode the source control tool would indicate that you have modified a file by showing a bold 'M' to the right of the file name.

In Xcode 9 I noticed that some of my files now show either an upward or upward facing arrow. What do they indicate?

Groot
  • 13,943
  • 6
  • 61
  • 72
Toma
  • 2,764
  • 4
  • 25
  • 44

2 Answers2

54

The arrows that sometimes appear to the right of a file in the navigator is indicating whether you have any files that has not yet been pushed to your remote branch or if you have changes for that file to be pulled from a remote.

The upward pointing arrow indicates you have local changes for that file that have not been pushed to your remote repository.

The downward pointing arrow indicates you have remote changes to that file that you have not fetched yet.

The arrows looks like this in Xcode 9.

Indicates that the file have three **local** commits that have not been pushed yet and 2 commits waiting to be fetched from the remote branch

Groot
  • 13,943
  • 6
  • 61
  • 72
  • Thanks, but it's a bit strange that I still see those arrows even thought all changes been pushed. Is there any way to see what files/changes the numbers are referring to? – turingtested Dec 14 '17 at 14:23
  • 13
    I believe it is a bit broken at the moment. Does it still show if you go "Source Control" -> "Fetch and Refresh Status" – Groot Dec 14 '17 at 14:57
  • That "Fetch and Refresh Status" Actually did the Job. Thanks for that. Xcode 9 is Really buggy :| – Yash Bedi Aug 06 '18 at 05:42
-1

enter image description here

I'm assuming you mean the arrows on the left of the text. The down arrow means it is displaying all its contents below. Click it to collapse its contents and it turns to a right arrow. The Mstands for modified since its last source control commit and if you encounter an A, it stands for added.

axelspark
  • 198
  • 10