Created
November 21, 2025 06:39
-
-
Save claide/21f01447e36c8d29702f5d7ef01da541 to your computer and use it in GitHub Desktop.
How to change a commit that failed from the commitlint test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Run `git commit --amend` | |
| 2. Change message and save it with correct rules like: feat(GEEK-7789): add ab test for the photo encouragement feature | |
| 3. After saving, don't pull since the previous commit is faulty and it will break the new one. | |
| 4. Run `git push --force-with-lease` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment