Skip to content

Keep git commits attributed to the site owner - #8

Merged
KingLizard1020 merged 1 commit into
mainfrom
cursor/owner-git-attribution-5721
Sep 17, 2026
Merged

KingLizard1020 merged 1 commit into
mainfrom
cursor/owner-git-attribution-5721

Conversation

@KingLizard1020

@KingLizard1020 KingLizard1020 commented Sep 13, 2026 •

Copy link
Copy Markdown
Owner

GitHub squash-merge copies extra authors from the commits on the branch. This keeps future work attributed to the repo owner:

  • Commits on this branch are authored as Kailash Nelson, with no extra co-author trailers
  • CI fails if a branch commit is authored by the cloud agent or has an agent co-author trailer
  • .githooks/commit-msg strips those trailers when that hook is installed locally

Already-merged squash commits on main are left as they are. Rewriting them would rewrite public history.

If you also commit from the desktop app, turn off Settings → Git & PRs → Attribution so those commits stay clean too.

CI rejects agent authorship and co-author trailers on the branch.
A local commit-msg hook strips those trailers if it is installed.
@KingLizard1020
KingLizard1020 marked this pull request as ready for review September 17, 2026 17:05
@KingLizard1020
KingLizard1020 merged commit 603da5a into main Sep 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant