Skip to content

Instantly share code, notes, and snippets.

@esc
Created September 1, 2013 10:03
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 esc/6403444 to your computer and use it in GitHub Desktop.
Save esc/6403444 to your computer and use it in GitHub Desktop.
alias gib="git branch"
alias branch="git branch"
alias gil="git log"
# log is a zsh builtin
alias gid="git diff"
alias gidc="git diff --cached"
alias giw="git wdiff"
# diff is a unix utility
alias gis="git status --ignored"
alias status="git status"
alias gap='git add -p'
alias add="git add"
alias gitt='git tree'
alias gita='git tree --all'
alias gco='git checkout'
alias checkout="git checkout"
alias co="git checkout"
alias gfft='git fft'
alias push="git push"
alias pull="git pull"
alias pulr="git pull --rebase"
alias fetch="git fetch"
alias ru="git ru"
alias fa="git fa"
alias clone="git clone"
alias stash="git stash"
alias cleanx="git clean -dfX; git clean -dfx"
alias ft="git ft"
alias gtop='cd $( git rev-parse --show-toplevel)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment