Skip to content

Instantly share code, notes, and snippets.

@tzutalin
Created July 14, 2016 06:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tzutalin/347273e3f79774ba0433d330887a0869 to your computer and use it in GitHub Desktop.
Save tzutalin/347273e3f79774ba0433d330887a0869 to your computer and use it in GitHub Desktop.
update_upstream.sh
#!/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