Git notes

From Federal Burro of Information
Revision as of 15:28, 12 February 2014 by David (talk | contribs)
Jump to navigationJump to search

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