Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeremy Kohn jeremykohn

View GitHub Profile
@jeremykohn
jeremykohn / update-master-branch.sh
Created Mar 9, 2017
Sync master branch of forked repo with upstream master branch
View update-master-branch.sh
# Part 1, if necessary:
# Configure a remote for your fork
# https://help.github.com/articles/configuring-a-remote-for-a-fork/
# In Terminal, cd into your local repo and run this command:
git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
# In general, git remote add upstream <upstream repo>
# Verify by running this command:
git remote -v
You can’t perform that action at this time.