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

Make post-checkout set up author.email/name as well #5

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

Conversation

Lomanic
Copy link

@Lomanic Lomanic commented Jan 22, 2023

If a user has set up both user.email/name and author.email/name in a global ~/.gitconfig, git will default to the global author.email/name when adding commits to a project automatically set up with git-clone-init

If a user has set up both user.email/name and author.email/name in a global ~/.gitconfig, git will
default to the global author.email/name when adding commits to a project automatically set up
with git-clone-init
@DrVanScott
Copy link
Owner

Sorry for late ( :-D) response. Do you have an example use case? The documentation says that user.name/email is used for both the auther and the committer if not specified otherwise. So why should there be a different setting for user and author? And if author is supported here, shouldn't also committer.name/email be supported? I am a bit affraid that it makes things a bit complicated?

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.

2 participants