Last active
August 29, 2015 14:27
-
-
Save veob/d92d6715d346006631bc to your computer and use it in GitHub Desktop.
TJ's bash aliases for git
This file contains hidden or 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 gd="git diff" | |
alias ga="git add" | |
alias gbd="git branch -D" | |
alias gst="git status" | |
alias gca="git commit -a -m" | |
alias gm="git merge --no-ff" | |
alias gpt="git push --tags" | |
alias gp="git push" | |
alias grh="git reset --hard" | |
alias gb="git branch" | |
alias gcob="git checkout -b" | |
alias gco="git checkout" | |
alias gba="git branch -a" | |
alias gcp="git cherry-pick" | |
alias gl="git log --pretty='format:%Cgreen%h%Creset %an - %s' --graph" | |
alias gpom="git pull origin master" | |
alias gcd='cd "`git rev-parse --show-toplevel`"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
source: http://tjholowaychuk.tumblr.com/post/26904939933/git-extras-introduction-screencast