Tuesday, April 14, 2009

git commands

$git clone (clone a git tree)
$git branch XXX (create branch)
$git checkout XXX (goto branch)
$git add . (track files in this dir)
$git commit . (commit the changes)
$git diff HASH1 HSAH2 (diff the two HEAD)
$git apply XXX.diff (apply the patches)

No comments:

Related Posts Plugin for WordPress, Blogger...