Skip to content

Instantly share code, notes, and snippets.

@honzahommer
Created March 4, 2019 22:45
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 honzahommer/fbb57d940119e0dfd438aab80e6f0876 to your computer and use it in GitHub Desktop.
Save honzahommer/fbb57d940119e0dfd438aab80e6f0876 to your computer and use it in GitHub Desktop.
Git fork sync
#!/bin/sh
REPO_URL=https://github.com/feathersjs-ecosystem/feathers-sequelize.git
git remote add upstream $REPO_URL
git fetch upstream
git checkout ${BRANCH:-master}
git merge upstream/master
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment