- Make sure you have a GitHub account.
- Visit the repository's page and click the Fork button in the top-right corner.
- Clone your forked repository to your local machine:
git clone https://github.com/YOUR_USERNAME/REPOSITORY_NAME.git
- Create a new branch according to the guidelines in the following document: Git Guidelines.
- Make sure to base the branch name on the type of change you're making (e.g.,
feat/name-related-issue
,fix/name-related-issue
).
git checkout -b your-branch-name
- Create atomic commits following the guidelines outlined here: Git Guidelines.
- Each commit should represent a small, focused change. Avoid including multiple unrelated changes in a single commit.
git add .
git commit -m "type: description"
- Push the changes to your forked repository:
git push origin your-branch-name
It's important to note that we are using Husky. This means that when you run a git push
, Husky will automatically execute npm run format and npm run lint
. If either of these commands throws an error, the push will not be successful, and you will see a Husky error. When this happens, make sure to resolve any format and lint errors before trying the push again.
- Create a Pull Request (PR) to the develop branch of the original repository.
- Follow the PR template below to submit your PR.
- Important: If you don’t use the provided PR template properly, your PR will be ignored.