We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://go.googlesource.com/arch/
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
No response
` import ( "github.com/go-git/go-git/v5/plumbing/transport/http" httpClient "net/http" )
httpBasicAuth := &http.TokenAuth{Token : “{Token generated by ‘Generate Password’ found here: https://go.googlesource.com}” _, err = git.PlainClone(directory, false, &git.CloneOptions{ URL: “https://go.googlesource.com/arch/”, Auth: httpBasicAuth, RecurseSubmodules: git.DefaultSubmoduleRecursionDepth,}) `
I have also tried http.BasicAuth with my google credentials. Neither seem to work with all the possible settings I could think of.
unexpected client error: unexpected requesting "https://go.googlesource.com/arch/info/refs?service=git-upload-pack" status code: 400
Cloning the repository
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What is the URL of the page with the issue?
https://go.googlesource.com/arch/
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Screenshot
No response
What did you do?
`
import (
"github.com/go-git/go-git/v5/plumbing/transport/http"
httpClient "net/http"
)
httpBasicAuth := &http.TokenAuth{Token : “{Token generated by ‘Generate Password’ found here: https://go.googlesource.com}”
_, err = git.PlainClone(directory, false, &git.CloneOptions{
URL: “https://go.googlesource.com/arch/”,
Auth: httpBasicAuth,
RecurseSubmodules: git.DefaultSubmoduleRecursionDepth,}) `
I have also tried http.BasicAuth with my google credentials. Neither seem to work with all the possible settings I could think of.
What did you see happen?
unexpected client error: unexpected requesting "https://go.googlesource.com/arch/info/refs?service=git-upload-pack" status code: 400
What did you expect to see?
Cloning the repository
The text was updated successfully, but these errors were encountered: