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

The tool should accommodate users with more than one account on a github. #1532

Open
mbailey opened this issue Feb 6, 2024 · 0 comments
Open

Comments

@mbailey
Copy link

mbailey commented Feb 6, 2024

The tool should accommodate users with more than one account on a github.

For enhanced security and clarity, it's good practice to use different GitHub accounts for projects across separate security boundaries, such as work-related and personal endeavors. Even github.com itself (and the mobile apps) allow you to login to multiple accounts and switch between them. It also appears having a redundant github account might also be a good idea given they may be randomly suspended.

A user with multiple accounts on github who:

  • uses more than one github account for different checked out repos
  • sets the credential.useHttpPath setting to true
  • wants GCM to store credentials specifically for that full repository URL

would benefit from knowing which remote they are being prompted for so they can login with the correct account.

When I open VS Code it triggers git-credential-manager to prompt me to sign in and I have not ideas which repo it's for.

image

Originally posted by @mbailey in #1472 (comment)

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

No branches or pull requests

1 participant