-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCONTRIBUTING
More file actions
27 lines (21 loc) · 1.48 KB
/
CONTRIBUTING
File metadata and controls
27 lines (21 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Contributing Guide
==================
Thank you for taking an interest in this modest 2D game development project. This small guide contains some info for setting up and contributing to ORG.
### Setting Up
1. Fork this repository by using the button on the top-right of the repo's github page.
2. Clone your fork locally: `git clone https://github.com/<your_github_account>/OrgEngine.git`
3. Move into the repo: `cd <path_to_repository>`
2. Add the upstream repo as a remote: `git remote add upstream https://github.com/GorrieXIV/OrgEngine.git`
3. Append some useful git helpers to your gitconfig: `cat etc/gitconfig >> ~/.gitconfig`
### Adding Code
Whenever adding functionality or fixing bugs, following this procedure can help reduce risk and keep things organized:
1. `git upmaster`
2. Create a new branch for your addition, with a suitable name: `git checkout -b <suitable_branch_name>`
3. Add your feature/bugfix
4. Push your branch to the remote (this step can be done at any point in your development, after the branch is created): `git push -u origin <suitable_branch_name>`
5. Once the addition is ready to be added, create a pull request for the branch:
* Select the "Pull requests" tab on the repo's Github page
* Click the green "New pull request" button on the right-side of the page
* Click the blue "compare across forks" link to create a PR from your fork
* Add a useful PR title and description
For any other questions or concerns feel free to email me at `[email protected]`.