Last active
April 5, 2018 16:42
-
-
Save Dottenpixel/f5d6709acb894c16f09ca2b085647b69 to your computer and use it in GitHub Desktop.
Git Command Alias Bash File
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 gad='git add' | |
alias gai='git add -i' | |
alias gst='git status' | |
alias gdf='git diff' | |
alias gl='git pull' | |
alias glrom='git pull -r origin master' | |
alias gp='git push' | |
alias gpoh='git push origin HEAD' | |
alias gd='git diff | mate' | |
alias gau='git add --update' | |
alias gc='git commit -v' | |
alias gca='git commit -v -a' | |
alias gcm='git commit -m' | |
alias gcmm='git commit --amend' | |
alias gb='git branch' | |
alias gba='git branch -a' | |
alias gco='git checkout' | |
alias gcob='git checkout -b' | |
alias gcot='git checkout -t' | |
alias gcotb='git checkout --track -b' | |
alias glog='git log' | |
alias glogp='git log --pretty=format:"%h %s" --graph' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seeded from here