Sunday 10 July 2016

Updating remote GIT branch list on local machine

If you are sure that remote server repository contains more branches and they are not shown in your IDE like, XCode., then try the below commands to refresh the local list of repositories.

Command 1:
$ git branch -a
OR
$ git branch -r
Then you have to update your remote list, by:

Command 2:
$ git remote update origin --prune