Skip to content

Instantly share code, notes, and snippets.

@wesinator
Created August 26, 2019 13:05
Show Gist options
  • Select an option

  • Save wesinator/5a21084af24fea6376895063721906e6 to your computer and use it in GitHub Desktop.

Select an option

Save wesinator/5a21084af24fea6376895063721906e6 to your computer and use it in GitHub Desktop.
Fetch and merge changes from an upstream git repo
git remote add upstream $1
git fetch upstream
git merge upstream/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment