Skip to content

Instantly share code, notes, and snippets.

@maxbeutel
Last active May 18, 2020 06:55
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 maxbeutel/5c00404f9b2d1fa32fdf721610e8ee87 to your computer and use it in GitHub Desktop.
Save maxbeutel/5c00404f9b2d1fa32fdf721610e8ee87 to your computer and use it in GitHub Desktop.
alias gis='git status'
alias gaa='git add -A'
alias gdc='git diff --cached --color=always'
alias gdd='git diff --color=always'
alias gll='git log --color=always'
alias gpr='git pull --rebase'
# Show or count differences between branches.
# Usage to compare current branch against master: gbdl origin/master..
alias gbcl="git rev-list --pretty=\"%h - %an, %ad : %s\""
alias gbcc="git rev-list --count"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment