Xcode 7 does not show new remote branches using Git

In Xcode 7, after creating a new remote branch using Jira / Stash, when I pull out the master, the new branch is used to display as an optional start branch. Now new branches are not displayed at all, so creating a new local branch is not so simple.

Before you can go to Source Control> hover over the current working copy> select "Switch to Branch" and scroll to see a new beginning / branch. After this was selected, Xcode automatically created a local branch.

Now I need to manually call / create a new branch locally and click on (Create) the remote branch, which can cause a lot of conflict if you are working with a copy is not a wizard.

Is there a way to make Xcode see all the remote branches through Terminal or something that I am missing in Xcode?

+6
source share
1 answer

So, as in Xcode 7.1.1, there seems to be a way to do this:

1) Create your own branch in Jira / Stash

2) In Xcode, go to Source Control

3) Select "Pull"

4) Click on the drop-down list and you will see a new branch "origin / ..."

5) select a new branch and click

6) go to "Source Control", hover over the working copy and select "Switch to Branch ..."

7) find the new branch of origin at the origin, and you will create a new local branch

Some IDEs, such as Visual Studio, may require you to pull out "master" to get new branches of origin, but now it looks like it's done now in Xcode.

UPDATE:. It seems that I have not checked the status "Update server automatically", which will eliminate most of these steps! (located in Xcode -> Preferences -> Source Control .., unless it was added in Xcode 7.3) enter image description here

+17
source

All Articles