Retired Document
Important: The repositories organizer does not appear in Xcode 5. In Xcode 5, source control management tasks are performed in the Source Control menu and the Accounts preferences.
Creating a Branch in a Git Repository
Create a branch in a repository to isolate specific aspects of your software development efforts and to work in parallel with other developers.
In the repositories organizer, select the appropriate Branches directory in the navigator pane and click the Add Branch button.
Enter a name for the new branch.
From the pop-up menu, choose an existing branch to serve as the starting point for this new branch.
If appropriate, select the option to automatically switch to the new branch.
Click Create.
The illustration shows adding a branch named Third, using the branch named Second as a starting point.
Git creates the new branch in your local repository. To make the branch available to others on a remote Git repository, you need to use the Push command.
Copyright © 2013 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2013-09-18