mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 14:00:10 +00:00
Updated Typical Git Workflow (markdown)
parent
fd83c0dbf2
commit
1864dbbf0d
@ -18,7 +18,7 @@
|
|||||||
* Push your new branch to origin if you'd like
|
* Push your new branch to origin if you'd like
|
||||||
* `git push origin new-branch-name`
|
* `git push origin new-branch-name`
|
||||||
|
|
||||||
**Scenario A: You did some work in your branch… Then, someone committed something to master that you want!**
|
**Scenario A: You did some work in your branch... Then, someone committed something to `upstream/master` that you want!**
|
||||||
* 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, 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, and then committed all of your new stuff.
|
||||||
|
Loading…
Reference in New Issue
Block a user