Have a look at community/Corruptor-sample to see a sample folder. Your car should have this same folder structure. Include README.md in your vehicle folder, along with an image (and add the image to the README.md).
Once you've got your folder laid out ready for upload, here's how you can add it to the repo:
- Download and install git if you don't already have it.
- Log in to Github and Fork the repo by clicking the Fork button in the top right corner.
- Click the green
Clone or download
button, and copy the link. - Clone the new repo.
- Windows:
- Open any folder in explorer.
- Hold shift and right-click any empty part of the folder.
- Hit either "Open PowerShell window here" or "Open command window here" depending on your version of Windows.
- Type in
git clone
and paste the link (ctrl+v) and hit enter (full command should look something likegit clone https://github.com/YourName/custom-cars.git
). - Don't close the window, you'll need it again later.
- Windows:
- When the repo is done being cloned, place your vehicle folder inside the community directory.
- Go back to the console window and type
cd custom-cars
and hit enter. - Type
git add .
and hit enter. - Type
git commit -m "Adding my own custom car"
and hit enter (or use whatever message you want after the-m
). - Type
git push origin master
and hit enter.- At this point, you will likely be asked to login to Github.
- Once the push has finished, create a Pull Request (PR) and click on
compare across forks
. - In the
head repository
drop-down, selectYourName/custom-cars
. - Hit the green
Create pull request
button, and then on the next page, the greenCreate pull request
button again.