How to nicely make Cursor to be commit co-author on GitHub?

When using claude code, it adds “Co-Authored-By: Claude [email protected]” to the commit message, which have my commits on GitHub shows a nifty co-author that leads to claude github user when clicking on it.

How can I achieve the similar behavior with Cursor? i don’t mind manually adding the Co-Authored-By. I just want the commit co-author to be displayed nicely.

Currently, I set up a git alias for adding the co-author:

git config --global alias.cursor "commit --amend --no-edit --trailer 'Co-authored-by: Cursor [email protected]'"

Then after any commit that I want to add the credit to cursor:

git cursor

If you are using GitHub, and you create a GitHub account for your [email protected] email address, you even get a nice profile page that you can look at and see all the contributions it has made.

1 Like