mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-15 01:40:05 +00:00
Updated Typical Git Workflow (markdown)
parent
0eb49256cf
commit
2b1ae8b320
@ -14,10 +14,10 @@ This is a guide to a typical Git workflow with Citra. It covers forking from the
|
|||||||
**Create a new branch**
|
**Create a new branch**
|
||||||
* Update your local `master` with `upstream/master` (if it's not a brand new GitHub fork)
|
* Update your local `master` with `upstream/master` (if it's not a brand new GitHub fork)
|
||||||
* `git checkout master`
|
* `git checkout master`
|
||||||
* `git pull upstream/master`
|
* `git fetch upstream && git rebase origin/master` or the equivalent `git pull upstream/master --rebase` (Note: `git pull upstream/master` is incorrect and may result in an undesired merge commit)
|
||||||
* Update origin/master with `upstream/master` if you’d like
|
* Update origin/master with `upstream/master`, if you’d like
|
||||||
* `git push origin/master`
|
* `git push origin/master`
|
||||||
* Create your branch from the latest master
|
* Create your branch from the latest master (Note: please format-branch-names-like-this)
|
||||||
* `git checkout -b new-branch-name`
|
* `git checkout -b new-branch-name`
|
||||||
* 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`
|
||||||
|
Loading…
Reference in New Issue
Block a user