Skip to content

Instantly share code, notes, and snippets.

@JamWils
Last active June 15, 2020 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JamWils/f116b64a365a4ec8091448f033a90f85 to your computer and use it in GitHub Desktop.
Save JamWils/f116b64a365a4ec8091448f033a90f85 to your computer and use it in GitHub Desktop.
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