opencommit icon indicating copy to clipboard operation
opencommit copied to clipboard

[Feature]: --signoff

Open kaovilai opened this issue 1 year ago • 3 comments
trafficstars

Description

https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---signoff

Suggested Solution

oco --signoff <email>

if this takes too long we can alias.

Alternatives

set in some config file

or have a way to not have oco prompt for push oco config set OCO_GITPUSH=false .. then we can && git commit --amend --signoff && git push --force

Additional Context

https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-commit-signoff-policy-for-your-repository#about-commit-signoffs

https://wiki.linuxfoundation.org/dco

For linux foundation, DCO is a requirement.

DCO sign-offs must be present on every single commit, or else the contribution will not be accepted. A contributor agreement may be signed by a third party, like a company, on behalf of its employees, whereas the DCO is always an attestation by the author of the contribution.

kaovilai avatar Sep 23 '24 20:09 kaovilai