Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Idea] Git integration: use Co-Authored-By trailer #3270

Open
crabmusket opened this issue Feb 16, 2025 · 0 comments
Open

[Idea] Git integration: use Co-Authored-By trailer #3270

crabmusket opened this issue Feb 16, 2025 · 0 comments

Comments

@crabmusket
Copy link

There's a convention in git commit messages to use a Co-Authored-By trailer to denote commits made by multiple authors.

https://github.blog/news-insights/product-news/commit-together-with-co-authors/

Here's an example where I did it manually in a repo I'm working on:
screenshot of commit in github showing the byline 'crabmusket and aider committed 19 hours ago'

And the expanded commit:
screenshot of same commit in github with email address git@aider.chat visible

I'd be happy to contribute an option to have Aider commit with this convention, if people want this.

It does raise the question of what email address to use. I picked [email protected]. However, it's unclear to me if there are security or other implications to pushing code to GitHub with this email address attached to commits.

Another option might be to allow me to configure an email address to attribute to Aider. Then, for example, I could use [email protected] as Aider's email when committing to my own repos.

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

No branches or pull requests

1 participant