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
BRANCH=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') | |
git co master; | |
git pull --rebase; | |
git co $BRANCH; | |
git rebase master; | |
git push --force origin $BRANCH; |