Skip to content

Commit 0301d5b

Browse files
authored
Merge pull request #912 from rumpl/tweak-git-commit
Tweak the git commit message
2 parents a3e62dc + 1e33c15 commit 0301d5b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pkg/tools/builtin/shell.go

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

0 commit comments

Comments
 (0)