Skip to content

Latest commit

 

History

History
41 lines (24 loc) · 1.75 KB

CONTRIBUTING.MD

File metadata and controls

41 lines (24 loc) · 1.75 KB

Step 1 Fork and Star this repository

You can fork this repository by clicking on fork button on top right corner. Once you fork this will create a copy of repo on your account

Step 2 Clone the repository

To clone the repository go to your account open this repo and either click on clone button or run the command below to get this repository on your local machine

git clone <URL you just copied>

e.g. git clone https://github.com/soham4abc/roBOT.git

Step 3 Create a branch

On your local machine go the project folder that you cloned and use following git command inside that folder

create a new branch using below command.

git checkout -b <branch-name>

e.g. git checkout -b mybranch

Step 4 Lets make some contributions

Make changes to files on your local machine work on the issue you're assigned.

Step 5 Add Changes and Commit Changes

Now we have to add changes that we made to the branch so for that we will run following command.

git add .

Now we have to commit changes, commit message should always be clear, to commit use command below.

git commit -m "message"

Step 6 Push changes to GitHub

Now we have to push the changes that we made to remote repository on specified branch to do so use command below.

git push

Step 7 Submit your changes for review

Once you have pushed your code to GitHub, it's now time to create pull request, you will go to the repository click on compare and pull request and submit the pull request.

Soon, we will be merging all your pull requests to the main branch of project and you will also get notification once your pull request is merged with existing code base. After that you will be able to see your details in contributor section on the page below.