I’ve published a repo of my own Git commands and aliases. Most of these commands started as aliases and then got more complex.

All of the commands are described in the README. They’re nothing terribly complex, but I find them all useful almost every time I use Git.

I’ve also included my collection of aliases. You can include the whole file and get all of my aliases, or just cherry pick the ones you want to use into your own .gitconfig. Hint: if you include a file at the top of your .gitconfig, any aliases you define after it will override the ones in the file.

Anyway, just thought I’d share. Writing Git commands is really easy, so if there are any tasks you repeat often that are more complex than an alias, I recommend making a stylish Git command. All you have to do is write a script and name it git-COMMAND. Make it executable and put it in your PATH, and then you can run git COMMAND ARGS with it, extending Git’s command set with your own creations (and keeping your scripts namespaced to Git).

If you’re interested, check out the repo.