Share your git tricks here.
git push --delete <branch_name>
: Delete remote branch. see: http://stackoverflow.com/questions/2003505/delete-a-git-branch-both-locally-and-remotelygit checkout -b <new_branch_name>
: Create a new branch and check it out in one stepgit stash save
: Save your local modifications to a stash and roll your working directory back to HEADgit stash list
: Show all stashed changes