Skip to content

Instantly share code, notes, and snippets.

View knoobie's full-sized avatar

Knoobie knoobie

  • Germany
  • 08:52 (UTC +01:00)
View GitHub Profile
@knoobie
knoobie / gist:6a153d3cffbbeb09c2fdd44f589c2df0
Created October 18, 2017 19:29 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream