Skip to content

Instantly share code, notes, and snippets.

@leto
Created June 19, 2009 21:29
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 leto/132899 to your computer and use it in GitHub Desktop.
Save leto/132899 to your computer and use it in GitHub Desktop.
alias git=~/bin/git
alias glg="git log --graph --pretty=oneline"
alias grc="git rebase --continue"
alias glp="git log -p"
alias githist="git log -p"
alias undo="git reset HEAD^"
alias gd="git diff --cached -a --diff-filter=ACDTMR"
alias gdc="git diff -a --diff-filter=ACDTMR"
alias gca="git commit -a"
alias gsa="git status -a"
alias gco="git checkout"
alias gcom="git checkout master"
alias gcob="git checkout bleed"
alias gpull="git pull"
alias gpush="git push"
alias ga="git add"
alias gc="git clone"
alias gb="git branch"
alias gba="git branch -a"
alias gcb="git checkout -b "
alias gpb="git pull origin bleed"
alias gpm="git pull origin master"
alias gPb="git push origin bleed"
alias gPm="git push origin master"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment