Created
July 14, 2016 06:17
-
-
Save tzutalin/347273e3f79774ba0433d330887a0869 to your computer and use it in GitHub Desktop.
update_upstream.sh
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
#!/bin/sh | |
git remote add upstream $1 | |
git fetch upstream | |
git pull --rebase upstream master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment