Skip to content

Instantly share code, notes, and snippets.

@victor-codestuffs
Last active December 10, 2015 18:29
Show Gist options
  • Save victor-codestuffs/4b042ebc191af509f82b to your computer and use it in GitHub Desktop.
Save victor-codestuffs/4b042ebc191af509f82b to your computer and use it in GitHub Desktop.
Aliased git commands
alias gs='git status'
alias gsu='git status -uno'
alias gp='git pull --rebase'
alias gl='git log'
alias glf='git log -p'
alias glp='git log --pretty=oneline'
alias glg='git log --pretty=format:"%h %s" --graph'
alias gd='git diff'
alias gss='git stash save'
alias gsl='git stash list'
alias gsp='git stash pop'
alias gb='git branch'
alias gbc='git checkout -b'
alias ga='git add'
alias gc='git commit -m'
alias grm='git remove'
alias gco='git checkout'
alias ...='cd ../..'
alias ..='cd ..'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment