TubeTK/Development/GITCheatSheet

From KitwarePublic
< TubeTK‎ | Development
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"...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Create a checkout

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