Skip to content

Instantly share code, notes, and snippets.

@waskito
Created June 14, 2017 06:08
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 waskito/112ce197cdec60cd5c97d47a75794846 to your computer and use it in GitHub Desktop.
Save waskito/112ce197cdec60cd5c97d47a75794846 to your computer and use it in GitHub Desktop.
Config fish
# Aliases for git shorty
alias gco="git checkout"
alias gaa="git add -A ."
alias gcm="git commit -m"
alias gst="git status"
alias glo="git log --graph"
alias gpl="git pull"
alias gps="git push"
alias gbr="git branch"
alias gft="git fetch"
alias grb="git rebase"
alias gdt="git difftool"
alias gsn="git show --name-only"
alias rig="rm ./**/*.orig"
alias gtl="git mergetool"
alias pkmap="sh ~/pokemap.sh"
function gac
git add -A .;
git commit -m $argv;
end
function glc
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative;
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment