Skip to content

Latest commit

 

History

History
147 lines (88 loc) · 6.06 KB

Contributing.md

File metadata and controls

147 lines (88 loc) · 6.06 KB

Contributing to Coding-Notes

Thank you for considering contributing to our project! We appreciate your help in making this project better.

How to Contribute

Rules: We will only accept PRs that are complete notes and reference your notes to the Readme.md library

Fork the repository Click on the "Fork" button at the top right of the page

Fork the repository to your GitHub account by clicking the "Fork" button. This will create a copy of the repository in your account.

Clone the fork

Clone the repository to your local machine using the command below.

git clone https://github.com/allanoguis/gojirun.git

Create a new branch

Name the branch according to the feature you are working on.

git checkout -b feature/YourFeatureName

Make your changes and commit them

Make the necessary changes to the code and commit them.

git commit -m "Add a descriptive commit message"

Push to your fork

Push your changes to your fork on GitHub.

git push origin feature/YourFeatureName

Submit a pull request: Go to the original repository and click on "New Pull Request"

Click on "New Pull Request" and select the branch you just pushed.

Wait for review and merge

Wait for the project owner to review your changes and merge them into the main branch.

Prerequisites

Before you begin, make sure you have met the following requirements:

  • You have installed the latest version of Git.
  • You have a working installation of Node.js (or any other specific tool related to your project).
  • You have read the project's README.md for instructions on setting up the project.

Code of Conduct

Please adhere to our Code of Conduct when contributing to this project.

Testing Your Changes

Before submitting your pull request, ensure that all existing tests pass and that any new tests are written and passed. To run the tests locally, use the following command:

npm test   # or whatever command is relevant to your project

Issues

Tip

Make a pull request from the branch created under the issues listed in the project. Create a pull request based on the branch created so we can track the pull request about the issue number

alt text

Note

Guidelines

Write clear commit messages. Ensure that your code passes all tests. If you are fixing an issue, please reference it in your pull request.

Before You Proceed

Tip

Before making a new branch, Make sure to get the latest update from the main branch. git fetch origin git pull Then create a new branch based on the issue. Make sure that you are working on a single problem. If you have other concerns, feel free to go to discussions on the GitHub project and make a new discussion.

PR Guidelines

Write Small, Focused PRs

Review Your Own PR First

Provide Context and Guidance

Recommend where to start and how to proceed with the review1.

Use Pull Request Templates

  • Standardize Information: Use pull request templates to standardize the information included when someone creates a PR in your repository. 

This can include a list of tasks to complete before merging1.

Link to Issues

  • Reference Issues: Include an issue reference in your PR body to automatically close the issue when the PR is merged. 

This helps keep your project organized1.

Communicate Clearly

Test Thoroughly

Tip

For major changes or UI changes, please include a screenshot on how it looks like on your end. It'll make the review faster for easier and faster pull merges.

image

Happy Hacking!

[EOF]