My client git version is 188.8.131.52.
I want to automatically add a "Signed-off-by" line for the committer at the end of the commit log message when commit a message.
git config --global format.signoff true
git commit -m "modify something"
git commit -m -s "modify something"
A boolean value which lets you enable the -s/--signoff option of
It has no bearing on
git commit -s.
In other words, you don't have to signoff every commit, but when you are publishing them as patch for others to use (as in "git: submitting patches"), then you should sign them.
For the exact signification of
Signed-of-by, see "What is the Sign Off feature in Git for?".