Replies: 4 comments
-
|
There's some discussion about it here #6096 |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
Beta Was this translation helpful? Give feedback.
-
|
I would not expect Those solve different problems:
Git author identity is intentionally separate because plenty of people use:
So auto-writing global author settings during If you want a one-time setup, I would keep it explicit: git config --global user.name "Your Name"
git config --global user.email "you@example.com"
gh auth setup-gitOr set name/email at the repository level instead of globally when you need different identities. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If a user authenticates gh cli with
gh auth loginthen uses
gh auth setup-gitto use GitHub CLI as a credential helper for git, why doesn't it also set the
values for the user it just authorized?
Beta Was this translation helpful? Give feedback.
All reactions