-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
request: use logged in account credentials for commit
#9375
Comments
commit
commit
commit
commit
Thanks for the feedback. This seems to share a lot of requested behaviour with #8590 and linked issues within but maybe it's slightly different. Would it be sufficient if |
I would be fine with that, yes. Just so long as I never have to go manually
This is interesting too, if it were feasible for Or perhaps helper functions/aliases for |
A major reason why I am using
gh
cli is to avoid having to manually setup ssh keys andgit config user.name/email
entries because I deal with many github accounts and this is tedious.gh
allows me to clone private repositories under the correct account, but after I make contributions and am ready to commit and push,git commit
uses my git global config email and name which is not necessarily correct for the account I am currently logged into ingh
.I don't want to go setup repository specific configs for every single project / account.
gh
should just ship with a way to use yourgh
logged in credentials when committing.The text was updated successfully, but these errors were encountered: