Closed AlvinKuruvilla closed 8 months ago
Thanks you @AlvinKuruvilla for you PR !!
Can you please update commit name by conventional commit formatting?
Hey @vincent-herlemont, it looks like all of the CI checks pass except the commit check. I think it has a problem with the first commit I made, but I'm not sure if there is a way to go back and change it now.
Hey @vincent-herlemont, it looks like all of the CI checks pass except the commit check. I think it has a problem with the first commit I made, but I'm not sure if there is a way to go back and change it now.
@AlvinKuruvilla you have to squatch your commits. Follow this documentation this documentation section Squashing Commits.
Explanation:
To squash commits in Git and follow semantic commit format, you'll need to use an interactive rebase. Here's a step-by-step guide on how to do it:
Start an Interactive Rebase:
main
(or another branch), you can use:
git rebase -i main
HEAD~n
, where n
is the number of commits. For example, if you want to squash the last 3 commits, you would use:
git rebase -i HEAD~3
Mark Commits for Squashing:
pick
, and change the word pick
to squash
or s
for all other commits you want to squash into the first one.Rewrite the Commit Message:
fix:
, feat:
, docs:
, style:
, refactor:
, test:
, or chore:
), a short description, and optionally a body and footer.docs: correct sentences in documentation
Finalize the Rebase:
Force Push the Squashed Commit:
git push origin <your-branch-name> --force
@AlvinKuruvilla Well done!! Your work has been merged 🙂!
:tada: This PR is included in version 0.6.0 :tada:
The release is available on:
0.6.0
Your semantic-release bot :package::rocket:
This patch addresses a TODO to return the removed value when calling remove. Now native returns the removed value in the Result