Skip to content

Instantly share code, notes, and snippets.

@joar
Last active January 17, 2017 10:46
Show Gist options
  • Select an option

  • Save joar/9fd00c88eaab946e52a4 to your computer and use it in GitHub Desktop.

Select an option

Save joar/9fd00c88eaab946e52a4 to your computer and use it in GitHub Desktop.
# Requires fish 2.2b1 or later for the "abbr" command.
abbr -a ga="git add"
abbr -a gc="git commit"
abbr -a gco="git checkout"
abbr -a gst="git status"
abbr -a gl="git pull"
abbr -a gp="git push"
abbr -a gu="git up"
abbr -a s="git status -sb"
abbr -a l="git log"
alias ga="git add"
alias gc="git commit"
alias gco="git checkout"
alias gst="git status"
alias s="git status -sb"
alias gl="git pull"
alias gp="git push"
alias gu="git up"
alias l="git log"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment