TubeTK/Development/GITCheatSheet: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
(Blanked the page)
 
(41 intermediate revisions by 5 users not shown)
Line 1: Line 1:
= 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
** --track is not needed unless you've set branch.autosetupmerge to false in your config
*git checkout somebranch
*git commit
*git push
** sends changes to origin/somebranch
= Delete a remote branch =
* Don't do this unless you're incredibly confident in what you're doing
* git push origin :somebranch

Latest revision as of 15:15, 26 July 2013