This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Choose the best response for each question.
What is the best way to report a bug to a GitHub project?
Send an email to a project owner.
I don't bother reporting software bugs because there's no transparency, and they never get fixed anyway.
Search for the bug in the project's existing issues, and create a new one if it hasn't been reported yet.
Suppose you created a bug fix on a new branch and want it to become part of the next production build generated from the main branch. What should you do next?
main
Copy your branch changes and commit them directly to the main branch.
Create a pull request to merge your new branch into the main branch.
On second thought, maybe I won't share this fix. I'll just put it in my own private version of the source code.
Suppose you'd like to work with a project on GitHub, but you don't have write access to the project. What can you do to contribute?
Fork the project's repository to your GitHub account, clone the forked repository to your local machine, push changes to your repository, and submit a pull request to the target (upstream) repository.
Clone the project to your local machine and push updates directly to the project repository.
Use git commands to make a copy of the project so that you can work locally. Submit an issue to get your changes into the target repository.
You must answer all questions before checking your work.
Was this page helpful?