Git: Switch To Selected Branch Dialog Box
See Also
The Switch To Selected Branch dialog box enables you to switch your files to a branch that already exists (for example, to a commit that is not at the top of one of your branches).
You access this dialog box by selecting a versioned project, file or folder and either:
- choose Team > Git > Branch > Switch To Branch from the main menu.
- right-click the selected item and choose Git > Branch > Switch To Branch.
To switch to a branch:
- Specify the branch you want to switch to in the Branch list.
- Review information specific to the branch in the following fields:
- Commit ID: A unique identifier of the branched revision.
- Author: Name of a person who committed the revision.
- Message: A message specified during the commit of the revision.
- (Optional) Select the Checkout as New Branch option to check out the branch specified above as a new branch.
Note:
- A detached HEAD is created if you select a remote branch and leave the option unselected.
- (Optional) Enter the branch name in the Branch Name text field.
- Click Switch.
- See Also
- About Git Support
- Git Tasks: Quick Reference
- Working with Branches
Legal Notices