Skip to content

Instantly share code, notes, and snippets.

@dflourusso
Last active October 3, 2019 20:26
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 dflourusso/64e91e2e4b9ad65d6614a45db1d61c69 to your computer and use it in GitHub Desktop.
Save dflourusso/64e91e2e4b9ad65d6614a45db1d61c69 to your computer and use it in GitHub Desktop.
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