Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Create a Pull Request | Making and Reviewing Contributions
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Git for Open Source Contributors

bookCreate a Pull Request

When your changes are ready and your branch history is clean, the next step is to submit your work for review through a pull request. A pull request (PR) is a formal request to merge your branch into the main project. In open source, PRs are the standard way to propose changes, allowing maintainers and other contributors to review, discuss, and suggest improvements before your code becomes part of the project. This process ensures code quality and provides an opportunity for learning and collaboration.

12345678910
# 1. Push your branch to your fork on GitHub git push origin my-feature-branch # 2. Open your web browser and go to your fork on GitHub # 3. You will see a "Compare & pull request" button—click it # 4. Fill out the pull request form: # - Provide a clear title # - Write a detailed description of your changes # - Reference any related issues (e.g., "Closes #123") # 5. Submit the pull request to the original repository
copy

Writing a clear pull request description helps reviewers understand your changes and speeds up the review process. Include a summary of what you changed, why you made the change, and any context that might help reviewers. If your PR addresses a specific issue, reference it using the issue number (such as Fixes #42) so it is automatically linked. This makes it easier for maintainers to track progress and ensures your contribution is properly credited.

question mark

What is the main purpose of a pull request in open source collaboration?

Select the correct answer

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 1

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

bookCreate a Pull Request

Swipe um das Menü anzuzeigen

When your changes are ready and your branch history is clean, the next step is to submit your work for review through a pull request. A pull request (PR) is a formal request to merge your branch into the main project. In open source, PRs are the standard way to propose changes, allowing maintainers and other contributors to review, discuss, and suggest improvements before your code becomes part of the project. This process ensures code quality and provides an opportunity for learning and collaboration.

12345678910
# 1. Push your branch to your fork on GitHub git push origin my-feature-branch # 2. Open your web browser and go to your fork on GitHub # 3. You will see a "Compare & pull request" button—click it # 4. Fill out the pull request form: # - Provide a clear title # - Write a detailed description of your changes # - Reference any related issues (e.g., "Closes #123") # 5. Submit the pull request to the original repository
copy

Writing a clear pull request description helps reviewers understand your changes and speeds up the review process. Include a summary of what you changed, why you made the change, and any context that might help reviewers. If your PR addresses a specific issue, reference it using the issue number (such as Fixes #42) so it is automatically linked. This makes it easier for maintainers to track progress and ensures your contribution is properly credited.

question mark

What is the main purpose of a pull request in open source collaboration?

Select the correct answer

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 3. Kapitel 1
some-alt