mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 06:50:10 +00:00
Updated Typical Git Workflow (markdown)
parent
1864dbbf0d
commit
f7b8878759
@ -1,14 +1,16 @@
|
||||
**Terminology**
|
||||
* `upstream`: Main project repo
|
||||
* `origin`: Forked project repo
|
||||
* `upstream`: Main project repository (https://github.com/citra-emu/citra)
|
||||
* `origin`: Your GitHub forked project repository (e.g. https://github.com/bunnei/citra)
|
||||
|
||||
**Before you begin**
|
||||
* Fork the project on GitHub
|
||||
* Clone your fork locally
|
||||
* GitHub fork the project
|
||||
* Clone your GitHub fork locally
|
||||
* `git clone https://github.com/your-username/citra.git`
|
||||
* Set your `upstream` to the main project repository
|
||||
* `git remote add upstream https://github.com/citra-emu/citra.git`
|
||||
|
||||
**Create a new branch**
|
||||
* Update `local/master` with `upstream/master` (if it's not a brand new fork)
|
||||
* Update your local `master` with `upstream/master` (if it's not a brand new GitHub fork)
|
||||
* `git checkout master`
|
||||
* `git pull upstream/master`
|
||||
* Update origin/master with `upstream/master` if you’d like
|
||||
|
Loading…
Reference in New Issue
Block a user