![]() SmartGit's Branch menu lets you select a branch to check out from the same graphical list of commits that was provided by its Log tool. Solution explorer will refresh to show the working directory for the branch selected. To change to a new branch, in the Branches area, select the branch from the Branch drop down or double click on the name of the branch. You can easily swap between branches in Git, by moving the HEAD pointer.Īs when making a new branch, before you swap branches, you should commit your changes on the current branch, or remove them from the working directory and staging area. ![]() New branches are added through the Branch menu. You can create new branches by selecting 'New Branch' in the branches area, and choose the parent branch from a drop down list. ![]() The parent of the branch will be whichever branch you are currently working on. I'll use angle brackets in these command line examples when you need to change a value. To create a new branch, and switch to working on that branch:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |