Created
June 19, 2017 10:27
-
-
Save jtr109/b855bf6146fa0b32fa911095bef32036 to your computer and use it in GitHub Desktop.
rebase master from uptream into current branch
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 rebase_upstream="export CURRENT_BRANCH_NAME=`git branch | grep \* | cut -d ' ' -f2` && git checkout master && git pull upstream master && git checkout $CURRENT_BRANCH_NAME && git rebase master" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment