Skip to content

Instantly share code, notes, and snippets.

@jforge
Created May 5, 2016 07:31
Show Gist options
  • Select an option

  • Save jforge/f7f520e1bb43f1c1e309c58bf6712b6a to your computer and use it in GitHub Desktop.

Select an option

Save jforge/f7f520e1bb43f1c1e309c58bf6712b6a to your computer and use it in GitHub Desktop.
https://help.github.com/articles/syncing-a-fork/
https://help.github.com/articles/configuring-a-remote-for-a-fork/
$ git remote -v
origin https://github.com/jforge/brick-mqtt-proxy.git (fetch)
origin https://github.com/jforge/brick-mqtt-proxy.git (push)
$ git remote add upstream
https://github.com/Tinkerforge/brick-mqtt-proxy.git
$ git remote -v
origin https://github.com/jforge/brick-mqtt-proxy.git (fetch)
origin https://github.com/jforge/brick-mqtt-proxy.git (push)
upstream https://github.com/Tinkerforge/brick-mqtt-proxy.git (fetch)
upstream https://github.com/Tinkerforge/brick-mqtt-proxy.git (push)
$ git fetch upstream
>From https://github.com/Tinkerforge/brick-mqtt-proxy
* [new branch] master -> upstream/master
$ git checkout master
Already on 'master'
our branch is up-to-date with 'origin/master'.
$ git merge upstream/master
Already up-to-date.
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment