Skip to content

Instantly share code, notes, and snippets.

Last active Jun 15, 2020
What would you like to do?
Git aliases I use on a day-to-day basis
git config --global alias.s "status -s"
git config --global alias.bc="branch --sort=-committerdate"
git config --global alias.lg "log --oneline --decorate --graph"
git config --global alias.lgb "log --graph --oneline --decorate --first-parent"
// Calling log for branch
git lgb <branch_name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment