Skip to content

Instantly share code, notes, and snippets.

@Dottenpixel
Last active April 5, 2018 16:42
Show Gist options
  • Save Dottenpixel/f5d6709acb894c16f09ca2b085647b69 to your computer and use it in GitHub Desktop.
Save Dottenpixel/f5d6709acb894c16f09ca2b085647b69 to your computer and use it in GitHub Desktop.
Git Command Alias Bash File
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'
@Dottenpixel
Copy link
Author

Seeded from here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment