fix: e -> ex in scope

姚云翔523370910110 2025-09-19 11:00:46 +08:00
parent 331d5c01f0
commit ae1fbf41e3

@ -58,9 +58,9 @@ Invalid commit message:
git commit -m"" # message missing git commit -m"" # message missing
git commit -m"my 1st commit message" # not following conventional commit format git commit -m"my 1st commit message" # not following conventional commit format
git commit -m"feat: skeleton" # missing scope git commit -m"feat: skeleton" # missing scope
git commit -m"joj(h1/e2): test" # wrong format, joj is not a valid type git commit -m"joj(h1/ex2): test" # wrong format, joj is not a valid type
git commit -m" 增加 ex2.c" # never commit with non-ascii characters in your message git commit -m" 增加 ex2.c" # never commit with non-ascii characters in your message
git commit -m"feat(h1/e2) skeleton" # not a regular : symbol git commit -m"feat(h1/ex2) skeleton" # not a regular : symbol
``` ```
If at any stage you push with an invalid commit you can easily fix it be pushing an empty commit, eg. If at any stage you push with an invalid commit you can easily fix it be pushing an empty commit, eg.