What do the arrows in the navigator pane on Xcode indicate?

12.1k views Asked by At

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?

2

There are 2 answers

3
Groot On BEST ANSWER

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

6
axelspark On

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.