Git notes

From Federal Burro of Information
Revision as of 15:28, 12 February 2014 by David (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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