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

One prompt for GitHub remotes #2

Open
sorin-ionescu opened this issue Apr 18, 2011 · 3 comments
Open

One prompt for GitHub remotes #2

sorin-ionescu opened this issue Apr 18, 2011 · 3 comments

Comments

@sorin-ionescu
Copy link

I understand why you store credentials per remote, but when it comes to GitHub, there is duplication. Perhaps, exemptions should be added for GitHub, Gitorious, and similar to only ask for credentials once.

@samuelkadolph
Copy link
Owner

That's a good idea but I would be concerned that it would make it impossible to use more than 1 GitHub account on your system.

@sorin-ionescu
Copy link
Author

I have thought about that as well. It would be nice to know how many people actually have multiple GitHub accounts. I'd bet they are a minority. That said, GitHub does like to insert the username in the HTTPS URL, and that can be a clue as to which account git-password should use. There still needs to be a method to mark one account as default for use by non user-prefixed URLs.

@samuelkadolph
Copy link
Owner

I would agree that it would be a small amount of people (doesn't help when it's against the ToS to have multiple free accounts). I'm looking at way to test the credentials so I can be able to detect invalids ones (which would handle multiple accounts since it can prompt for other credentials and store them as an exception).

I was hoping to avoid having any user interaction with the program itself but it may be unavoidable to allow you to mark a username/password combo as the default for GitHub.

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

2 participants