-
Fork the repository you are interested in.
-
Clone from your personal repository:
git clone https://github.com/<me>/<repo>.git
. -
Add the original repository to your upstream:
git remote add upstream https://github.com/<owner>/<repo>.git
-
Now, pull and merge:
git fetch upstream
git checkout master
git merge upstream/master
-
You can run these when the project you are interested updates their code.
-
Next checkout a new branch that describes your feature:
git checkout -b <feature-branch>
-
Make your patches
-
Ready? Commit your changes
git add .
andgit commit -S -m "commit message"
-
In the commit, use a helpful format to describe your PR. Good syntax for your message is something like
fix:
orchore(linter):
. -
Push to your repository:
git push origin <feature-branch>
-
Make an LLM write the description of your pull request and make your PR!
2 min read
Open Source Contribution Guide