Skip to content

Instantly share code, notes, and snippets.

View gurachan's full-sized avatar
🎯
Focusing

gurachan

🎯
Focusing
View GitHub Profile
@gurachan
gurachan / gist:79d9d232605e2c5a1bfde1cd5e7f8c26
Created December 10, 2019 10:53 — 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