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

Retrieve the identity using git-config command #3423

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

akirak
Copy link

@akirak akirak commented Mar 3, 2025

Fixes #2668 (and #1085). For me, setting the fake git identity on every repository is a deal breaker, and this PR will solve the issue.

By using git-config command, both local and global git settings will be considered.

I don't know what to do with the fallback identity. I have left it as it is. If either user or email is unavailable from any of the git configs, aider will still set the fake identity.

This takes the global git configuration into account, so it will become
unnecessary to set a local identity in every repository.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support for gitconfig include directives
2 participants