Git notes

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

get some code:

git clone username@gitserver:/srv/gitroot/ugo-project.git

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

Maintenance

Backup

Clean up