3 ms·
So who authored your comment? What would you put into the commit message fields if it were a git commit?
by moritzwarhier 8mo ago
So who authored your comment?
What would you put into the commit message fields if it were a git commit?
- funkattack 8mo agoCurrently you'd read quite a lot of: "Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>"
- moritzwarhier 8mo agoAh, co-authored, but that's different thing, isn't it? Tbh I only know it from squashed PRs. However: > "Co-author" is not a git concept. It is a convention in commit messages used by some services, including GitHub. So, the solution is to edit the actual commit message with git commit --amend and add a line to the end: https://stackoverflow.com/a/64311381 https://stackoverflow.com/a/64311381
- funkattack 8mo agoIt's a door opened by git (interpret-trailers), walked through by GitHub with the Co-authored-by key and UI support, GitLab followed.