Skip to content

Instantly share code, notes, and snippets.

@tzach
Created October 11, 2020 07:46
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 tzach/8510a30b2b54c9450bec147ec3d927c3 to your computer and use it in GitHub Desktop.
Save tzach/8510a30b2b54c9450bec147ec3d927c3 to your computer and use it in GitHub Desktop.
Automated Github sync with upstream
#!/bin/bash
git fetch upstream
git checkout master
git merge upstream/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment