Created
March 17, 2015 16:29
-
-
Save olih/1ca9cfff5663de6aacef to your computer and use it in GitHub Desktop.
Helpful aliases for git for zsh when using a rebase workflow
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 | |
alias latest='git checkout master;git fetch --all;git rebase;git status;' | |
alias br='git show-branch;git branch;git status;' | |
alias h2='git rebase -i HEAD~2' | |
alias h3='git rebase -i HEAD~3' | |
alias h4='git rebase -i HEAD~4' | |
alias h5='git rebase -i HEAD~5' | |
alias h6='git rebase -i HEAD~6' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/robbyrussell/oh-my-zsh