2,238
edits
m (→Introduction: s/see/show/) |
m (→Introduction: fetch+merge -> pull) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
If you have never used [http://git-scm.com/ Git] before, here is a quick intro to get you started | If you have never used [http://git-scm.com/ Git] before, here is a quick intro to get you started. For Dolphin-specific workflows, read the [[Contributor's Guide]]. | ||
First, set up Git: | First, set up Git: | ||
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> | ||
Line 48: | Line 47: | ||
It may be useful to know that Git branches are actually just labelled pointers into the commit graph. | It may be useful to know that Git branches are actually just labelled pointers into the commit graph. | ||
[[Category:Development]] | |||
edits