Detail on the DCO signoff feature #158846
-
|
Hello, I have setup DCO on a repos I started recently, on Github web and in my local repos. I am running a Linux environment and added the Therefore, shouldn't my local git perform the signoff automatically each time I do a commit? Because it does not seem to be the case. Thanks for providing me some insight. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
The Git config setting signOff = true under [format] doesn’t automatically append --signoff to commits—you still need to manually use git commit -s each time. Want help automating that? |
Beta Was this translation helpful? Give feedback.
-
|
Hey @melodie11 👋🏾 While you wait for clarification from @smudge011, here are some resources that may be helpful to you as well: Cheers! |
Beta Was this translation helpful? Give feedback.
Thank you @ghostinhershell it was about DCO, not GPG. Someone has provided me with a solution, using a
.mailmapfile installed at the root of the repository.It is used with one line per adress/name to map:
< Name and mail adress to use > <name and mail adress to replace>(as many lines as needed). This has solved my problem.