On May 25, 2017, at 8:59 AM, Antoine Pitrou <antoine@python.org> wrote:

Le 25/05/2017 à 17:52, Carol Willing a écrit :

Thanks for the pointer.  Unfortunately, it seems that it really wants to
authenticate using username and password (even though browsing a public

$ hub checkout https://github.com/python/cpython/pull/1785
github.com username: pitrou
github.com password for pitrou (never stored): ^C

Antoine, do you have an SSH key stored within your GitHub account settings?

Yes, I do.

You would still use the same command for hub to checkout the pull request, but GitHub would stop nagging for username/password.

Apparently not...

Looking at the hub man page https://hub.github.com/hub.1.html, hub uses an OAuth token which is probably not set or not being found by the hub app.

See Configuration section and GitHub OAuth subsection in the man page. Hope that helps.


python-committers mailing list
Code of Conduct: https://www.python.org/psf/codeofconduct/