Nathan Wailes - Blog - GitHub - LinkedIn - Patreon - Reddit - Stack Overflow - Twitter - YouTube
How to suggest a change to someone else's GitHub project
- Create an online copy of the project.
- Navigate to the GitHub repository you want to suggest a change to.
- Make sure you're logged into GitHub.
- Click 'Fork'.
- Get your online copy of the project onto your computer.
- Open SourceTree on your computer.
- Click 'Clone/New'.
- Click the globe icon.
- Select the repository you just forked.
- If you don't see the repository in the list:
- If you've added your GitHub account to SourceTree:
- Click 'Refresh'.
- Otherwise:
- Click "Edit Accounts' and add your GitHub account.
- If you've added your GitHub account to SourceTree:
- If you don't see the repository in the list:
- Click 'Clone'.
- Make the changes to the copy of the project on your computer.
- (Optional) Click 'Branch' and name the branch so that it describes the changes you're going to be making.
- Example: "fix_grammar".
- Click 'Actions' → 'Show in Explorer'.
- Open the file you want to make a change to in a text editor.
- Make the change.
- In SourceTree, stage the changes you want to keep.
- Write a commit message explaining what you changed.
- Click 'Commit'.
- (Optional) Click 'Branch' and name the branch so that it describes the changes you're going to be making.
- Send your change from the copy of the project on your computer to your online copy of the project.
- Click the 'Push' button on the navbar.
- If you created a branch:
- Select the branch in the dialog, so that a copy of that branch will be created on the online copy of the project.
- Click the 'Push' button in the dialog.
- Send your change from your online copy to the project owner's copy.
- Navigate to your online copy of the project on GitHub.
- Click "Compare & pull request".
- Write a comment explaining what you changed and click "Create pull request".