git-clone-init icon indicating copy to clipboard operation
git-clone-init copied to clipboard

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

Open Lomanic opened this issue 2 years ago • 1 comments

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

Lomanic avatar Jan 22 '23 00:01 Lomanic

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?

DrVanScott avatar Jun 11 '24 20:06 DrVanScott