Using Git to Contribute - ProjectSWGCore/NGECore2 GitHub Wiki
If you have not already, you need to install and set up Git before you can perform these steps. If you need help with doing that see [GUIDE] Installing and Setting Up Git
Forking a Repository
To start, you need to fork the repository you want to work with. In this instance it is NGECore2. Forking adds a copy of the repository to your account. It is the first step in contributing.
Cloning your Repository
The next step is to clone your repository with Git. This is downloading it to your computer. To do so, run the following code.
cd C:/Users/your-user-account/where-ever-you-want-your-repository
# Goes to that specified location. That is where your files will get downloaded too.
git clone https://github.com/**your-username**/NGECore2.git
# Clones your fork of the repository into the current directory in terminal
Commiting
After you have changed a file in the source or added some content and you wish to submit it to be reviewed by the Developers, you can make a commit.
git status
# lists the status of the master. Telling you what files are different from the current public
# repository on github (if you used "cd C:/your-origin-whatever")
Find the files you want to change and type
git add path-to-file
Then when you are ready to commit
git commit commit-message-like: "Added Rebel Themepark"
Submitting a Pull Request
When you have a commit, or more than one commit ready to be sent for review you need to submit a "Pull Request" so developers can preview your changes, then approve or decline it. Do that on this page:
https://github.com/ProjectSWGCore/NGECore2/compare/