Loading lessons...
Send a Pull Request
Send a Pull Request
A pull request (PR) is a request to merge your changes into another repository or branch. It is how open source contributions happen.
The full contribution flow
- Fork the original repository.
- Clone your fork to your computer.
- Create a branch for your change.
- Make your changes and commit them.
- Push the branch to your fork.
- Open a pull request from your fork to the original.
Open the pull request
On GitHub:
- Go to your fork on GitHub.
- GitHub shows a "Compare & pull request" button for your pushed branch.
- Click it, write a title and description.
- Click Create pull request.
What happens next
- Maintainers review your changes.
- They may ask for edits; you push more commits to the same branch and they update the PR.
- If everything looks good, the maintainer merges your PR.
Keep it friendly
- Describe what your change does and why.
- Follow the project's contributing guide if it has one.
- Be ready for feedback.
TL;DR
- A pull request asks the original repo to merge your changes.
- Flow: fork, clone, branch, commit, push, then open a PR.
- Maintainers review, you adjust, and they merge.
- A PR is the standard way to contribute to open source.