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

Toma picture Toma · Sep 5, 2017 · Viewed 7.6k times · Source

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?

Answer

Groot picture Groot · Sep 17, 2017

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