Created
June 14, 2017 06:08
-
-
Save waskito/112ce197cdec60cd5c97d47a75794846 to your computer and use it in GitHub Desktop.
Config fish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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