Last active
June 4, 2018 09:49
-
-
Save eyalgo/ac14383b08e8df4f04fe526d05aae289 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
# Go to relevant branch | |
git checkout $1 | |
# fetch everything | |
git fetch | |
#rebase interactive | |
git rebase -i origin/master | |
# See https://git-scm.com/docs/git-rebase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment