Recover missing DCO sign-offs
dcoskillsetup L2★3,367
linuxfoundation/crowd.dev ↗What it does
Recover from missing DCO sign-off on git commits
Best for
Contributors who forgot --signoff and need to retroactively fix commits before PR merge
Inputs
- · unsigned commit SHA(s)
- · branch to fix
Outputs
- · amended commits with Signed-off-by trailer
- · force-push ready
Requires
- · git
- · Probot DCO check (external)
Preconditions
Local git repo with dev commits; git user.name and user.email configured
Failure modes
Interactive rebase conflicts, force-push rejected if remote updated, signoff trailer duplicated
Trust signals
- · Three distinct cases covered (last commit, older commit, cherry-pick)
- · git log format for verification provided
- · force-with-lease recommended over force
- · DCO check details explained