Created
April 20, 2017 20:22
-
-
Save ArtSabintsev/d9db344999588a9b23d312714349aa6f to your computer and use it in GitHub Desktop.
Useful Git Aliases
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
alias ga='git add . && git status' | |
alias gb='git branch' | |
alias gbd='git branch -D' | |
alias gch='git checkout' | |
alias gcam='git commit -am' | |
alias gp='git push' | |
alias gpo='git push origin' | |
alias gs='git status' | |
alias gu='git pull --all && git fetch -p && git branch --merged | grep -v '^*' | grep -v master | grep -v develop | xargs -n 1 git branch -d && git branch -a' | |
alias gclean='git clean -fd && git reset && git checkout -f && git status' | |
alias gl='git log --all --graph --oneline --decorate' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment