Git notes: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
(Created page with " branches list branches git branch make a new branch git branch <newbranchname> switch between branches git checkout <branchname> for example to switch back to mast...") |
No edit summary |
||
Line 1: | Line 1: | ||
branches | '''branches''' | ||
list branches | list branches |
Revision as of 15:28, 12 February 2014
branches
list branches
git branch
make a new branch
git branch <newbranchname>
switch between branches
git checkout <branchname>
for example to switch back to master:
git checkout master