Formatting, remove whitespace

Margen67 2021-06-11 13:08:12 -10:00
parent 8bfd905ee4
commit 0e0ce8bfaa
1 changed files with 1 additions and 7 deletions

@ -1,21 +1,17 @@
## Developer environment
Cxbx-Reloaded is developed in C++ using [Microsoft Visual Studio 2019 Community](https://www.visualstudio.com/downloads/).
## Debugging during emulation
Since Cxbx-Reloaded launches another process instance of itself for emulation, debugging in Visual Studio doesn't work out of the box.
Follow the [developer debugging guide](Child-Process-Debugging) to get started.
## How to properly send your code contributions (git)
This is a step-by-step guide to keep your forked copy of Cxbx-Reloaded updated, to create a branch for your work and to send a PR.
If you want more information about git commands, you can read [this free book](https://git-scm.com/book/en/v2).
### First time setup (aka adding the upstream remote)
You have to follow these steps only the first time you fork Cxbx-Reloaded:
1. Fork mainline Cxbx-Reloaded repository on GitHub by clicking the "Fork" button (upper-right) and clone it to a local folder.
2. Open a git shell in the root folder of your cloned repository and run this command: `git remote add upstream https://github.com/Cxbx-Reloaded/Cxbx-Reloaded.git`
@ -23,7 +19,6 @@ You have to follow these steps only the first time you fork Cxbx-Reloaded:
Congratulations, you have completed the first-time setup!
### Keep your fork updated
You have to follow these steps anytime you want to update your forked Cxbx-Reloaded repository:
1. Open a git shell in the root folder of your cloned repository and run these commands:
1. `git fetch upstream`
@ -32,7 +27,6 @@ You have to follow these steps anytime you want to update your forked Cxbx-Reloa
3. You may need to run `git push origin master --force` to update your repository on GitHub.
### Create a branch for your new contribution
You must keep the master branch of your forked repository clean, and instead create a new branch for every contribution you want to send.
Before creating a branch, MAKE SURE YOUR FORK IS UP-TO-DATE!