First of all thanks for spending your time to contribute or showing interest to contribute to this project 😃
This documentation contains a set of Guidelines
and Steps
to help you during the contribution process.
Here are some set of guidelines to follow while contributing to rbjks.github.io
:
- Welcome to this repository, if you are here as an open-source program participant/contributor.
- Participants/contributors have to comment on issues they would like to work on, and mentors or the maintainers will assign you.
- Issues will be assigned on a first-come, first-serve basis.
- Participants/contributors can also open their issues. We respect all your contributions, whether it is an Issue or a Pull Request.
- Please check if the issue you want to is already listed, If its already listed, chat in the comments to figure out whether someone is working on it or not. If issue is not listed then you can raise an issue, make sure you get it assigned to you before you start working on that project.
- Please don't pick up an issue already assigned to someone else. Work on the issues after it gets assigned to you.
- Create your file in an appropriate folder with appropriate name and extension.
- Pull requests will be merged after appropriate reviews.
- We all are here to learn. You are allowed to make mistakes. That's how you learn, right!.
Fork this repository by clicking on the fork button on the top of this page. This will create a copy of this repository in your account.
Now clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the code button and then click the copy to clipboard icon.
Open a terminal and run the following git command:
git clone https://github.com/<Your-Github-username>/rbjks.github.io.git
Change to the repository directory on your computer (if you are not already there):
cd rbjks.github.io
Now create a branch using the git checkout
command:
git checkout -b <branch-name>
For example:
git checkout -b add-new-feature
If you go to the project directory and execute the command git status
, you'll see there are changes.
Add those changes to the branch you just created using the git add command:
git add .
Now commit those changes using the git commit command:
git commit -m "Your commit message"
Push the changes to the forked repository using:
git push origin <Your-branch-name>
Navigate to the original fork of this repository on your profile and click on the branch you had committed to. Then click on Contribute to create a Pull Request i.e create a PR on Github. (Don't just hit the create a pull request button, you must write a PR message to clarify why and what are you contributing)
You can refer to the following articles on the basics of Git and Github and also contact me, in case you are stuck: