Skip to content

Instantly share code, notes, and snippets.

@Digo
Last active February 10, 2020 18:20
Show Gist options
  • Save Digo/985522cf1788f39085e64a20150c8ed5 to your computer and use it in GitHub Desktop.
Save Digo/985522cf1788f39085e64a20150c8ed5 to your computer and use it in GitHub Desktop.
git alias
alias gps='git push'
alias gpl='git pull'
alias gb='git branch'
alias gc='git checkout'
alias gm='git commit -m'
alias gma='git commit -am'
alias gmps='git commit -am "$(curl -s http://whatthecommit.com/index.txt)" && git push'
alias gd='git diff'
alias gs='git status'
alias gra='git remote add'
alias grr='git remote rm'
alias gl='git log'
alias ga='git add'
alias gcl='git clone'
alias gtree='git log --graph --oneline --all --decorate --color'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment