Bird
0
0

After forking a repo and pushing a branch fix-bug to your fork, what is the next step to propose your changes to the original project?

medium📝 Workflow Q13 of 15
Git - Collaboration Workflows
After forking a repo and pushing a branch fix-bug to your fork, what is the next step to propose your changes to the original project?
ADirectly push fix-bug branch to the original repository
BCreate a pull request from your fork's fix-bug branch to the original repo
CMerge fix-bug branch locally without pushing
DDelete your fork and clone the original repo again
Step-by-Step Solution
Solution:
  1. Step 1: Understand the pull request purpose

    A pull request asks the original project to review and merge your changes from your fork's branch.
  2. Step 2: Identify the correct action after pushing

    After pushing your branch to your fork, you create a pull request targeting the original repository's branch.
  3. Final Answer:

    Create a pull request from your fork's fix-bug branch to the original repo -> Option B
  4. Quick Check:

    Push branch then create pull request [OK]
Quick Trick: Push branch, then open pull request to original repo [OK]
Common Mistakes:
  • Trying to push directly to original repo without permission
  • Merging locally without sharing changes
  • Deleting fork before proposing changes

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Git Quizzes