Updated Typical Git Workflow (markdown)

bunnei 2014-06-13 11:45:26 -07:00
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 youd like