Your first code contribution will be to add your name to a the CONTRIBUTERS.md
file.
- Click on the Issues tab on the right side of the repository.
- Click on the New Issue button.
- Fill in the title with
docs : add <Name> to Contributers.md
- Fill description with a brief description of the Tasks.
- Label the issue with the
documentation
label on the right side of the page. - Submit your first issue!
Note: Wait for Repository maintainers to process issue before beginning work on the issue. (living document, we might have them directly create a branch and PR instead of waiting for maintainers to create a branch for them.)
Instructions for Repository maintainers only:
- Assign the issue to the contributor.
- Verify label is documentation
- Add the issue to the project board.
- Add the status of the issue to the project board.
- Create the branch the contributor will be working on.
- Ask the contributor to begin work on the issue to push the smallest possible change to the repository.
Contributor
- Clone the repository to your local machine.
git clone <repository-url>
- Checkout to the branch created by the repository maintainers.
git checkout <branch-name>
- Open the
Contributers.md
file and add your name to the file. DO NOT ADD YOUR EMAIL THAT WILL COME LATER. - Stage the changes.
git add Contributers.md
- Commit the changes.
git commit -m "docs: added <Name> to Contributers.md"
- Push the changes to the repository.
git push origin <branch-name>
Note: you may need to use ssh keys to push to the repository. - Make sure it was pushed to the repository.
Maintainer
- Open up a pull request for the branch.
- Make sure to title it using correct commit format.
- Assign the pull request to the contributor.
- Click on create pull request.
- Submit reviews to add the email to the
Contributers.md
file.
Contributor:
- Add your email to the
Contributers.md
file. - Stage the changes.
git add Contributers.md
- Commit the changes.
git commit -m "docs: fixed review - added email to Contributers.md"
- Push the changes to the repository.
git push origin <branch-name>
Maintainer:
- Make sure to SQUASH merge the changes. (can be forced in the settings of the repository)
- Make sure to delete the branch after merging.
- Close the issue.
Contributor:
- Switch back to the main branch.
git checkout main
- Pull the changes from the repository.
git pull origin main
- Delete the branch.
git branch -d <branch-name>
- Git log to make sure the changes are there.
git log --oneline
- Click on the Issues tab on the right side of the repository.
- Click on the New Issue button.
- Fill in the title and description.