mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-24 14:11:05 +00:00
Updated Typical Git Workflow (markdown)
parent
98ef2cc76c
commit
a128848a6c
@ -28,7 +28,7 @@ It's appreciated if every single commit in a branch on its own compiles on all s
|
|||||||
* Make sure you're on your branch
|
* Make sure you're on your branch
|
||||||
* `git checkout new-branch-name`
|
* `git checkout new-branch-name`
|
||||||
* Rebase `upstream/master` onto it. With the rebase, move all of your changes to the top, and put all of the new master changes immediately after where you branched from. The goal should be that the branch now appears as though you just created it from `upstream/master`, and then committed all of your new stuff.
|
* Rebase `upstream/master` onto it. With the rebase, move all of your changes to the top, and put all of the new master changes immediately after where you branched from. The goal should be that the branch now appears as though you just created it from `upstream/master`, and then committed all of your new stuff.
|
||||||
* `git rebase -i upstream/master`
|
* `git rebase upstream/master`
|
||||||
|
|
||||||
**Scenario B: You did some more work in your branch... Then, someone committed something to `upstream/master` that will cause conflicts when trying to get the branch merged back to upstream/master!**
|
**Scenario B: You did some more work in your branch... Then, someone committed something to `upstream/master` that will cause conflicts when trying to get the branch merged back to upstream/master!**
|
||||||
* From your branch, rebase `upstream/master`
|
* From your branch, rebase `upstream/master`
|
||||||
|
Loading…
Reference in New Issue
Block a user