-
Fork the repository.
-
Create an issue for new features or bug fixes:
- Go to the Issues section of the repository.
- Create a new issue, providing a detailed description of the feature or bug.
- Ask to be assigned to that issue by commenting on it.
- Wait for confirmation or assignment of the issue before proceeding.
- Sync your fork with the upstream repository to ensure you're working with the latest code:
git remote add upstream https://github.com/ORIGINAL_OWNER/REPOSITORY_NAME.git
git fetch upstream
git checkout main
git merge upstream/main
- Create a new branch for your feature or fix:
git checkout -b feature-name
- Make your changes and commit them:
git commit -m "Add some feature"
- Push your branch to your fork:
git push origin feature-name
- Create a Pull Request (PR):
- Go to your fork on GitHub.
- Click on the Compare & Pull Request button.
- In the PR description, reference the issue you're addressing using the format Closes #ISSUE_NUMBER.
- Ensure the maintainers review your PR and provide any necessary feedback.