dco¶
[1m [0m
[1m [0m[1;33mUsage: [0m[1mlftools-uv dco [OPTIONS] COMMAND [ARGS]...[0m[1m [0m[1m [0m
[1m [0m
Check repository for commits missing DCO.
[2mâ•─[0m[2m Options [0m[2m───────────────────────────────────────────────────────────────────[0m[2m─╮[0m
[2m│[0m [1;36m-[0m[1;36m-help[0m Show this message and exit. [2m│[0m
[2m╰──────────────────────────────────────────────────────────────────────────────╯[0m
[2mâ•─[0m[2m Commands [0m[2m──────────────────────────────────────────────────────────────────[0m[2m─╮[0m
[2m│[0m [1;36mcheck [0m[1;36m [0m Check repository for commits missing DCO. [2m│[0m
[2m│[0m [1;36mmatch [0m[1;36m [0m Check for commits whose DCO does not match the commit author's [2m│[0m
[2m│[0m [1;36m [0m email. [2m│[0m
[2m╰──────────────────────────────────────────────────────────────────────────────╯[0m
Commands¶
check¶
[1m [0m
[1m [0m[1;33mUsage: [0m[1mlftools-uv dco check [OPTIONS] [REPO_PATH][0m[1m [0m[1m [0m
[1m [0m
Check repository for commits missing DCO.
[2mThis check will exclude merge commits and empty commits.[0m[2m [0m[2mIt operates in your [0m
[2mcurrent working directory which has to[0m[2m [0m[2mbe a git repository. Alternatively, [0m
[2myou can opt to pass in the[0m[2m [0m[2mpath to a git repo.[0m
[2mBy default, this will also check for DCO signoff files in a directory[0m[2m [0m[2mnamed [0m
[2m"dco_signoffs". To check in a different directory, use the[0m[2m [0m[2m--signoffs option.[0m
[2mTo ignore signoff files, an empty string can be passed.[0m
[2mRefer to https://developercertificate.org/[0m
[2mâ•─[0m[2m Arguments [0m[2m─────────────────────────────────────────────────────────────────[0m[2m─╮[0m
[2m│[0m repo_path [1;2;33m[[0m[1;33mREPO_PATH[0m[1;2;33m][0m Path to git repository (defaults to current [2m│[0m
[2m│[0m directory) [2m│[0m
[2m╰──────────────────────────────────────────────────────────────────────────────╯[0m
[2mâ•─[0m[2m Options [0m[2m───────────────────────────────────────────────────────────────────[0m[2m─╮[0m
[2m│[0m [1;36m-[0m[1;36m-signoffs[0m [1;33mTEXT[0m Specify a directory to check for DCO signoff text [2m│[0m
[2m│[0m files [2m│[0m
[2m│[0m [2m[default: dco_signoffs] [0m [2m│[0m
[2m│[0m [1;36m-[0m[1;36m-help[0m [1;33m [0m Show this message and exit. [2m│[0m
[2m╰──────────────────────────────────────────────────────────────────────────────╯[0m
Note
Check for exit status to determine if the DCO check passed.