Skip to content

Latest commit

 

History

History
52 lines (30 loc) · 1.43 KB

CONTRIBUTING.md

File metadata and controls

52 lines (30 loc) · 1.43 KB

How to contribute!

Steps:

  • I would suggest you to create an issue for the development you want to make in the project. Though it isn't mandatory.

  • Fork this repository

  • Clone the forked https://github.com/<Your_Username>/Car-Racing-Game.git

    git clone https://github.com/<Your_Username>/Car-Racing-Game.git

  • Create new branch

    git checkout -b <Your_Branch_Name>

  • Add Scripts related to your respective issues.

    git add <Your_Contribution>

  • Add a commit message !

    git commit -a -m "<Your_Message>"

  • Push changes

    git push -u origin <Name_Of_Your_Branch>

  • Create your pull request [Try to Mention the related issue for your PR]


How to Sync the Repo!

Steps:

  • When you see your repo is behind from the main project's repo in terms of commits. Just sync your repo with the main project's repo.

    git remote -v

  • Add the upstream (main project's) repo's URL

    git remote add upstream https://github.com/DeepNinja07x/Car-Racing-Game.git

  • Now fetch all the new commits from upstream to your local repo.

    git fetch upstream

  • Just check if you are in master branch before merging. If not just change your branch to master branch

    git checkout master

  • Merge the upstream branch with your master branch

    git merge upstream/master

  • push those changes to your GitHub repository

    git push origin master