Created
July 28, 2015 08:29
-
-
Save ashrafuzzaman/6fae5c5310a6a62617af to your computer and use it in GitHub Desktop.
Rebase current branch on to master
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
branch_name="$(git symbolic-ref --short -q HEAD)" | |
echo "Rebasing" $branch_name | |
git fetch newscred master:master && git rebase newscred/master && git push --force origin $branch_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment