Last active
August 24, 2016 19:34
-
-
Save moisesnarvaez/2d56b6cd68b96f368e703217e28b70b0 to your computer and use it in GitHub Desktop.
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
# Git | |
alias gs='git status ' | |
alias ga='git add ' | |
alias gb='git branch ' | |
alias gc='git commit' | |
alias gd='git diff' | |
alias go='git checkout ' | |
alias gk='gitk --all&' | |
alias gx='gitx --all' | |
# More Git | |
alias gst='git stash' | |
alias gsta='git stash apply' | |
alias gp='git push origin $(currentBranch)' | |
alias gpf='git push origin $(currentBranch) --force' | |
alias gpr='git pull --rebase origin $(currentBranch)' | |
alias gcd='git commit -a --amend --no-edit' | |
alias currentBranch='git rev-parse --abbrev-ref HEAD' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment