Skip to content

Instantly share code, notes, and snippets.

@miketoth
Created May 28, 2019 23:23
Show Gist options
  • Save miketoth/589301c92a4ce33487f7feb511eb0d28 to your computer and use it in GitHub Desktop.
Save miketoth/589301c92a4ce33487f7feb511eb0d28 to your computer and use it in GitHub Desktop.
keep fork up to date with remote

1. Add original repo as an upstream remote

git remote add upstream git@github.com/ORIGINAL/REPO-YOU-FORKED.git
git fetch upstream

2. Pull in their changes

git pull upstream master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment