Skip to content

Instantly share code, notes, and snippets.

@darkthread
darkthread / gist:ae3f31823fc975b1b90f13fbb073b893
Last active August 25, 2018 01:31 — forked from CristinaSolana/gist:1885435
讓Fork與源頭保持同步

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