Useful git aliases

After watching this talk from the 2017 Git Merge conference, I got inspired to start integrating more git aliases into my workflow.

Here are a few handy ones I’ve been using.

“gpa” alias to push to all git remotes:

“gitignore $1” to generate a gitignore file from gitignore.io:

“gso” alias to switch remote origin:

A collection of more handy aliases referenced in the aforementioned talk: https://bitbucket.org/tpettersen/git-aliases/src/master/.gitaliases?fileviewer=file-view-default

Updated:

Comments