TubeTK/Development/GITCheatSheet
From KitwarePublic
< TubeTK | Development
Jump to navigationJump to search
Revision as of 18:34, 25 January 2010 by Caseygoodlett (talk | contribs) (New page: = Create a checkout = *git clone git://gitorious.org/tubetk/tubetk.git = Push local changes = *git push origin master = Track a remote branch = "git fetch" (get up to date) or "git pull"...)
Create a checkout
- git clone git://gitorious.org/tubetk/tubetk.git
Push local changes
- git push origin master
Track a remote branch
"git fetch" (get up to date) or "git pull"
- git branch --track somebranch origin/somebranch
- git checkout somebranch
- git commit
- git push
- sends changes to origin/somebranch
- --track is not needed unles you've set branch.autosetupmerge in your config