Working with the development version
From the [[Project:About|VDrift Documentation Wiki]]
See this documentation for more info: http://help.github.com/
Contents |
[edit] Making your own changes
If you want to make your own changes to improve VDrift, the easiest way is to fork the main VDrift repo on GitHub (https://github.com/VDrift/vdrift/). Just click the button near the top right of the page. You will need a free GitHub account. Then clone your new repo onto your computer:
git clone [email protected]:username/vdrift.git
And link this to the original VDrift repo:
git remote add upstream git://github.com/VDrift/vdrift.git git fetch upstream
[edit] Updating
Once the repository has been checked out, it can be updated without downloading the entire thing again. For command line git, use the command
git pull
to check for updates and apply them. If you have made some changes, use the following instead to prevent these being lost:
git fetch upstream git merge upstream/master
[edit] Uploading changes
To upload any changes you've made, first add the files to the commit:
git add filename
Then do the commit:
git commit -m 'Commit message'
And finally send this to GitHub:
git push origin master
[edit] Checking in changes
You can request a VDrift developer to incorporate your changes by initiating a GitHub pull request. See this documentation for more info: http://help.github.com/send-pull-requests/
Thank you for helping make VDrift better for everyone!

