Dco¶
Usage: lftools dco [OPTIONS] COMMAND [ARGS]...
Check repository for commits missing DCO.
Options:
--help Show this message and exit.
Commands:
check Check repository for commits missing DCO.
match Check for commits whose DCO does not match the commit author's...
Commands¶
check¶
Usage: lftools dco check [OPTIONS] [REPO_PATH]
Check repository for commits missing DCO.
This check will exclude merge commits and empty commits. It operates in your
current working directory which has to be a git repository. Alternatively,
you can opt to pass in the path to a git repo.
By default, this will also check for DCO signoff files in a directory named
"dco_signoffs". To check in a different directory, use the --signoffs
option. To ignore signoff files, an empty string can be passed.
Refer to https://developercertificate.org/
Options:
--signoffs TEXT Specify a directory to check for DCO signoff text files
--help Show this message and exit.
Note
Check for exit status to determine if the DCO check passed.