Created
November 28, 2018 06:05
-
-
Save nakabonne/27dda744dee65870734e3b819138050e to your computer and use it in GitHub Desktop.
This makes origin repository follow upstream it.
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/bash | |
set -eu | |
git checkout master | |
git fetch upstream | |
git merge upstream/master | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment