Skip to content

Instantly share code, notes, and snippets.

@ifahrentholz
Last active January 29, 2016 12:00
Show Gist options
  • Save ifahrentholz/7b4a002d7905084c9672 to your computer and use it in GitHub Desktop.
Save ifahrentholz/7b4a002d7905084c9672 to your computer and use it in GitHub Desktop.
alias gs='git status'
alias gco='git checkout'
alias gc='git commit'
alias grb='git rebase'
alias gb='git branch'
alias ga='git add -A'
alias gpl='git pull'
alias gp='git push'
alias glg='git log --date-order --all --graph --format="%C(green)%h%Creset %C(yellow)%an%Creset %C(blue bold)%ar%Creset %C(red bold)%d%Creset%s"'
alias glg2='git log --date-order --all --graph --name-status --format="%C(green)%H%Creset %C(yellow)%an%Creset %C(blue bold)%ar%Creset %C(red bold)%d%Creset%s"'
# up 'n' folders
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias c='cat '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment