Closed ghost closed 1 year ago
Trying to clone a public github repository, but recieving the error 'failed to clone: authentication required but no callback set; class=Ssh (23)' I am using just the HTTP url. no SSH involved.
` let url = "https://github.com/rust-lang/book";
let _ = match Repository::clone(url, path) { Ok(_) => { println!("cloned the book from github") } Err(e) => panic!("failed to clone: {}", e), };
`
You may want to check if you have an insteadOf in your global git config.
Thanks!
Trying to clone a public github repository, but recieving the error 'failed to clone: authentication required but no callback set; class=Ssh (23)' I am using just the HTTP url. no SSH involved.
` let url = "https://github.com/rust-lang/book";
`