Last active
May 16, 2017 16:26
-
-
Save dody87/e4190ccf53ccb9aacb20fe7e06675584 to your computer and use it in GitHub Desktop.
script in order to get upstream (parent repository) updated.
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/bash | |
echo "Updating upstream forked repository." | |
git remote add upstream git@GIT_REPOSITORY_URL.git | |
git fetch upstream | |
git pull upstream master | |
echo "Done! :)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment