Git: Difference between revisions
Jump to navigation
Jump to search
m (move contributor's guide link to the top) |
m (→Introduction: fetch+merge -> pull) |
||
Line 28: | Line 28: | ||
<pre> | <pre> | ||
git remote add upstream https://github.com/dolphin-emu/dolphin.git # add a separate remote for the main repository | git remote add upstream https://github.com/dolphin-emu/dolphin.git # add a separate remote for the main repository | ||
git remote -v | git remote -v # show remotes, you have two now (origin and upstream) | ||
git checkout master # make sure you are on the master branch | |||
git checkout master | git pull --ff-only upstream # pull in new commits from upstream | ||
git | |||
</pre> | </pre> | ||