Skip to content

Instantly share code, notes, and snippets.

@adalbertopita
Created March 24, 2016 13:41
Show Gist options
  • Save adalbertopita/835e28aef0de3efc74e1 to your computer and use it in GitHub Desktop.
Save adalbertopita/835e28aef0de3efc74e1 to your computer and use it in GitHub Desktop.
alias clone='git clone'
alias fetch='git fetch --all && git fetch --tag'
alias ga='git commit -am'
alias gc='git commit'
alias gd='git difftool -y -x "sdiff" | less'
alias gg='gitg &'
alias gk='git checkout'
alias gl='git log --pretty=format:"%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen(%cr) %C(cyan )<%an>%Creset" --abbrev-commit'
alias gm='git merge'
alias gs='git status -sb'
alias pull='git pull'
alias push='git push && git push --tags'
alias rebase='git pull --rebase'
alias stash='git add . && git stash'
alias pop='git stash pop'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment