Git Basics: Submit a Pull Request to a Forked Repository #826
jgbourque
announced in
Published Guides
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Submit a Pull Request to a Forked Repository
This guide shows you how to submit a pull request (PR) to your team’s main branch, not the original upstream repository. GitHub defaults to sending PRs to the original source, but for your team’s workflow, changes should stay within your fork until you’re ready to submit a larger update upstream.
Step 1: After you have pushed changes, go to your team’s repository on GitHub
GitHub will often show a banner for your recently pushed branch: Click "Compare & pull request" (example image below):
*Note - If you do not see this banner, you can just navigate to the "Pull Requests" tab at the top of your repository page and then select "New Pull Request" (example image below):
❗MOST IMPORTANT STEP BELOW❗
Step 2: Switch to your team repo's main branch.
Click the dropdown options for at the top of the screen and make sure the base repository on the left hand side is set as the base of your team's repository and not the original endless/threadbare repository:
Here's an image that shows someone selecting their team's main repository as an example:

Once selected, it should look like this (example image below):
Step 3: Write a clear title for your pull request. Example: Add new dialogue to intro scene
Example:
Added new dialogue lines for the intro scene to make the character’s motivations clearer. Please check for typos and make sure the scene still loads properly when starting the quest.Step 4 (final step): Click "Create pull request"
Note:

If you did accidentally do a pull request to the endless/threadbare main repository, It's ok! You can just close the pull request by clicking the "Close Pull Request" button at the bottom of the PR. Then go back and re-do it from your team’s repository:
Quick Checklist
✅ Pull request goes from your branch → your team’s main branch
❌ Do not send it to endlessm/threadbare (the upstream repo)
You're all set! Your team can now review and merge your work.
Beta Was this translation helpful? Give feedback.
All reactions