Skip to content

Instantly share code, notes, and snippets.

@leto
Created May 2, 2009 21:16
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/105707 to your computer and use it in GitHub Desktop.
Save leto/105707 to your computer and use it in GitHub Desktop.
####### git aliases
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 |colordiff|less -R"
alias gdc="git diff -a --diff-filter=ACDTMR |colordiff|less -R"
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