Skip to content

Instantly share code, notes, and snippets.

Last active Oct 3, 2019
What would you like to do?
shrc aliases
alias gs='git status'
unalias ga &> /dev/null
ga() { git add -A $* && git status }
unalias gc &> /dev/null
gc() { noglob git commit -m "$*" && git status }
alias gp="git push -v --progress --follow-tags"
alias gu='git pull --rebase --autostash'
alias gx='gitg'
alias gui='gitg'
alias gxx='git log --graph --color --all --decorate'
alias gd='git d'
alias gamend='git commit --amend'
alias gamendm='git commit --amend -m' "$1"
alias gclean='git clean -d -f'
alias pathsize='du -h -d 1'
alias count='find . -type f | wc -l'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment