Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
examples: PlainClone with Basic Authentication (Password & Access Token) #990
If this is something that would be of value, and there isn't a specific reason why it hasn't been implemented, I would love to deep dive into this. I think it would be a great follow-up, then we could clean up the "Token" auth.
changed the title from
PlainClone with Basic and "Token" Authentication
examples & documentation: PlainClone with Basic and "Token" Authentication
Oct 19, 2018
If we are talking about GitHub's personal access tokens, using them as password is the intended usage: https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/#using-a-token-on-the-command-line
@mccurdyc can you add this examples to the https://github.com/src-d/go-git/blob/master/_examples/README.md?