🤝 Contributing
Explore open issues to work on here.
If you found a bug or have a suggestion, create a new issue.
- Find or create an issue to work on for bug, feature or documentation.
- Fork the repository.
- Create a new branch from the
main
branch using one of the following formats:- For new features:
feat-[feature-name]
(e.g.,feat-add-login
) - For bug fixes:
fix-[bug-name]
(e.g.,fix-header-crash
)
- For new features:
- Make and test your changes.
- Commit your changes.
- Submit a PR with a clear title and link the issue in the PR description.
- Wait for your PR to be reviewed ✔.
- Ensure you are assigned to an issue or bug before starting development.
- Follow naming standards for issues, pull requests (PRs), and commits.
- Feel free to ask follow-up questions if you're unsure about something!
❌ Please Note: Bad Pull Requests Will Not Be Accepted!
- Changes that do not address the stated issue or bug will be rejected.
- PRs containing unnecessary indentation changes will not be accepted.
- Do not submit duplicate PRs.
How to make a PR for newbies
-
Fork the repo.
-
After forking, clone the repo to your local machine. To clone the repo to your local machine, run the following command in your terminal:
git clone https://github.com/<your-github-username>/Talk-Trove
-
Create a new branch. To create a new branch, run the following command in your terminal:
git checkout -b <your-branch-name>
-
Make changes in source code.
-
Add your changes To add your changes, run the following command in your terminal:
git add .
-
Commit your changes. To commit your changes, run the following command in your terminal:
git commit -m "<your-commit-message>"
-
Push your changes. To push your changes, run the following command in your terminal:
git push origin <your-branch-name>
-
Create a PR.
Alternatively Using GitHub Desktop:
- Open GitHub Desktop and log in to your GitHub account.
- Make sure you are on the "Current Repository" view. If not, go to "File" and select "Add Local Repository" to add your repository.
- In the "Current Repository" view, ensure you are on the branch that you want to submit a pull request for. If you're not on the correct branch, use the "Branch" menu to switch to the correct branch.
- Once you're on the correct branch, make your changes and commit them to the branch. You can do this by clicking the "+" button in the upper-left corner of the GitHub Desktop window, making your changes, and then entering a commit message.
- After you've made your changes and committed them, click the "Push origin" button in the top-right corner of the GitHub Desktop window. This will push your changes to the remote repository on GitHub.
- Now, go to the GitHub website, navigate to your fork of the repository, and you should see a button to "Compare & pull request" between your fork and the original repository, click on it.
- On the pull request page, you can review your changes and add any additional information, such as a title and a description, that you want to include with your pull request.
- Once you're satisfied with your pull request, click the "Create pull request" button to submit it.
Note: In order to create a pull request, you must have a fork of the original repository in your GitHub account and you must have made the changes in that forked repository.
That's it! You have made your contribution to the project.