My Git aliases >> .bash_aliases
alias g='git'
alias gs='git status'
alias ga='git add'
alias gco='git commit'
alias gch='git checkout'
alias grs='git reset'
alias gpl='git pull'
alias gps='git push'
alias glo='git log --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --abbrev-commit'
Written by Mateus Pontes
Related protips
1 Response
oh.. why not break each alias into different lines? ;)
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Alias
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#