Skip to content

Instantly share code, notes, and snippets.

View ddzirt's full-sized avatar

Oleksandr Bondarenko ddzirt

  • Freelance
  • Kyiv
View GitHub Profile
@ddzirt
ddzirt / gist:ff0ce070341c000e7cdeb8fd31573927
Created March 10, 2019 19:47 — 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