From abb99f3674daa51660a04aeb8a902c60aa2e6b8b Mon Sep 17 00:00:00 2001 From: Michael Hienle <40914576+mhienle@users.noreply.github.com> Date: Wed, 7 Nov 2018 23:51:31 +0100 Subject: [PATCH] Add info for how to sync a fork (#840) --- git-extras.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/git-extras.md b/git-extras.md index 4bd3dd318..0fac00ff9 100644 --- a/git-extras.md +++ b/git-extras.md @@ -34,7 +34,11 @@ Also `git-bug` and `git-refactor`. ### Github - $ git fork strongloop/express + $ git fork strongloop/express + # sync your fork with the original repository: + $ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git + $ git fetch upstream; git merge upstream/master + ### Tags