When committing code, users need to run:
which will add a line similar to the following at the end of the commit message:
Signed-off-by: Jane Doe <jane@example.com>
Developers who don't want to remember to add -s every time they commit code can simplify it for themselves via an alias for git commit.
This check should ensure that:
- this line exists in each commit
- the name and email on this line matches the name + email of the commit itself
When committing code, users need to run:
which will add a line similar to the following at the end of the commit message:
Developers who don't want to remember to add
-severy time they commit code can simplify it for themselves via an alias forgit commit.This check should ensure that: