Contributions
After making many mistakes about it, I decided to note down a workflow for my contributions to git repositories.
-
Fork the repository
-
Clone your fork
git clone [your fork] && cd [your fork]
- Configure git to pull master/main branch from the original repository
git remote add upstream [original repository]
- Create your branch
git checkout -b <your branch>
- Commit
git add -A && git commit -m "commit message"
- Push
git push
- Create a merge request or a pull request.