Skip to content

Instantly share code, notes, and snippets.

@RasPhilCo
Created March 8, 2017 22:40
Show Gist options
  • Save RasPhilCo/1cc4c272b234a30b9d1668ac914cf304 to your computer and use it in GitHub Desktop.
Save RasPhilCo/1cc4c272b234a30b9d1668ac914cf304 to your computer and use it in GitHub Desktop.
# git aliases
alias g 'git'
alias gst 'git status'
alias gd 'git diff'
alias gco 'git checkout'
alias ga 'git add'
alias gcm 'git commit -m'
alias gl "git log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold
green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment