Git

Four Useful Git Aliases

As you may know, Git is not a single application, but rather a toolkit containing many small programs and scripts that can manipulate the repository. This makes it trivial to chain those components into more-powerful, custom commands which can be defined as git aliases.

Here are some of the more-useful aliases I use on a daily basis:

(To install these, simply drop copypaste the lines above into your ~/.gitconfig file)

 

A simple Bash script to automate the amending of older commits with staged changes.  This script has since been deprecated in favor of using git commit --fixup.