This document shows you how to get started contributing to this project.
-
Fork the repository.
-
Clone your fork by HTTPS or SSH method (as you prefer).
# With HTTPS method https://github.com/MyName/template.git # With SSH method git clone [email protected]:MyName/template.git
-
Check out a new branch based and name it to what you intend to do:
Use one branch per fix / feature
- Example:
git checkout -b feat/BRANCH_NAME git checkout -b fix/BRANCH_NAME
- Example:
-
Commit your changes
-
Please provide a git message that explains what you've done.
-
Please make sure your commits follow the conventions.
-
Commit to the remote repository.
-
Example:
git commit -am 'feat(plugin): add a commit message'
gitGraph commit commit branch feat/filter commit commit checkout main commit commit
-
-
Push your changes to your fork.
- Example:
git push origin BRANCH_NAME
- Example:
-
Make a pull request when you are done with your changes.
- Make sure you send the PR to the
main
branch. - GitHub Actions are watching you!
- Make sure you send the PR to the
If you follow these instructions, your PR will land pretty safely in the main repository!
gitGraph
commit
commit
branch feat/filter
commit
commit
checkout main
commit
checkout feat/filter
merge main id: "merge main into feat/filter"
checkout main
merge feat/filter id: "merge feat/filter into main"