Skip to content

Commit 42d2217

Browse files
docs: require --signoff for agent git commits (#111)
## Summary - Adds a `### Git Commits` subsection under `## Repo Conventions` in `AGENTS.md` - Instructs all AI agents (Cursor, Claude Code, Windsurf, etc.) to always use `--signoff` (`-s`) when committing, for DCO compliance ## Test plan - [ ] Verify the new section renders correctly in the AGENTS.md markdown - [ ] Confirm agents pick up the instruction on next interaction Made with [Cursor](https://cursor.com) Signed-off-by: aagonzales <aagonzales@nvidia.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent fb2a9d5 commit 42d2217

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,16 @@ make build-wheel # Build wheel (version from git tag)
158158
make publish-internal # Publish to NVIDIA Artifactory
159159
```
160160

161+
### Git Commits
162+
163+
Always use `--signoff` (`-s`) when committing:
164+
165+
```bash
166+
git commit -s -m "message"
167+
```
168+
169+
This adds a `Signed-off-by` trailer for DCO compliance.
170+
161171
### Branching
162172

163173
Feature branches off `main`. Branch names often include an issue number prefix (e.g., `<author>/123-short-name`).

0 commit comments

Comments
 (0)