Skip to content

Commit 1e33c15

Browse files
committed
Tweak the git commit message
Ecxplicitly say that this is only when the users asks Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
1 parent abf25e1 commit 1e33c15

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

pkg/tools/builtin/shell.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,10 +501,12 @@ On Unix-like systems, ${SHELL} is used or /bin/sh as fallback.
501501
- Avoid writing shell scripts to the disk. Instead, use heredocs to pipe the script to the SHELL
502502
- Use the timeout parameter for long-running operations (e.g., builds, tests)
503503
504-
### ⚠️ IMPORTANT: Git Commits
505-
- When making a git commit, you MUST add "Assisted-By: cagent" as a trailer line in the commit message
504+
### Git Commits
505+
506+
When user asks to create git commit
507+
508+
- Add "Assisted-By: cagent" as a trailer line in the commit message
506509
- Use the format: git commit -m "Your commit message" -m "" -m "Assisted-By: cagent"
507-
- The empty -m "" creates a blank line before the trailer for proper formatting
508510
509511
## Usage Examples
510512

0 commit comments

Comments
 (0)