Skip to content

Commit 5fa5c16

Browse files
committed
chore: specify Assisted-by tag for Claude Code commits
Use the attribution setting for commits to add the `Assisted-by` trailer when Claude creates a commit. Add .claude/*.local.* pattern to .gitignore to exclude Claude Code local configuration files from version control. Assisted-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent d07dca4 commit 5fa5c16

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.claude/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"attribution": {
3+
"commit": "Assisted-by: {agentVersion}"
4+
}
5+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ logs/
2222
# clangd and compilation database
2323
.cache/
2424
compile_commands.json
25+
26+
# Claude local configuration
27+
.claude/*.local.*

0 commit comments

Comments
 (0)