Use this dialog box to switch between existing branches and create new branches in a local repository.
|Git Root||From this drop-down list, select the path to the local repository in which you want to switch between existing branches or create a new branch.|
|Current Branch||This read-only field shows the name of the working branch in the selected local repository.|
|Checkout||From this drop-down list, select the branch or tag to which you want to switch or which you want to copy to a new branch. To specify a particular commit, type its commit hash or use an expression, for example, of the following structure:|
Refer to the Git commit naming conventions for details.
|Validate||Click this button to check that the commit specified in the Checkout field exists and view which files were affected in it.|
|Include Tags||Select this check box to have tags also shown in the Checkout drop-down list.|
|As New Branch||In this text box, type the name of the branch to be created.|
|Create Ref Log||Select this check box to have a reference log for the new branch created where all changes made to the branch references will be recorded.|
|Track Branch||Select this check box to track the parent of the new branch.|
|Override||Select this check box if you want to checkout a branch to an existing branch. |
Use this option with care because the history of the target branch will be lost.
|Checkout||Click this button to switch to the specified existing branch or to create a new branch in the local repository.|
Last modified: 26 October 2017