Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (13 sloc) 416 Bytes

CloneAllBranches ModernizeYourGitWorkflow GoodLinks

Amend the last commit. You can add files, edit the cmmit message, whatever. $ git commit --amend

Rename a branch $ git branch -m old_branch new_branch

Clone the main svn repo at work. $ git svn init svn+ssh://<username></username>@10.24.0.12/svn/sentral/trunk/www <directory></directory>

Remove untrakced files. $ git clean

Undo merge (back to last commit) $ git reset --hard HEAD