Git: Checkout Selected Revision Dialog Box
See Also
The Checkout Selected Revision dialog box enables you to check out an existing branch and copy the files to your Working Tree.
You access this dialog box by selecting a versioned project, file or folder and either:
- choose Team > Git > Checkout > Checkout Revision from the main menu.
- right-click the selected item and choose Git > Checkout > Checkout Revision.
To checkout a revision:
- Specify the required revision by entering a commit ID, existing branch, or tag name in the Revision field or click Select to view the list of revisions maintained in the repository.
- Review information specific to the revision being checked out 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.
- To create a new branch out of the checked out revision, choose the Checkout as New Branch option and enter the name in the Branch Name field.
- Click Checkout to check out the revision.
Files in the Working Tree and in the Index are updated to match the version in the specified revision.
Note:
- If you specify a general revision (not a branch) or do not select the Checkout as New branch option, the HEAD becomes detached and you are no longer on a branch.
- See Also
- About Git Support
- Git Tasks: Quick Reference
- Working with Branches
Legal Notices