Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

xcode9

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?

like image 987
Toma Avatar asked Sep 05 '17 11:09

Toma


1 Answers

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

like image 123
Groot Avatar answered Oct 18 '22 20:10

Groot