stash
stash copied to clipboard
Git cannot clone private GitHub repositories
When I try to clone a private GitHub repository, Git gives me this error message:
<class 'dulwich.errors.GitProtocolError'>: unexpected http response 401
I have not tried SSH.
No problems with public repositories.
The only way you can clone a private GitHub repo is Github App on Desktop or downloading the zip from the GitHub website. If they allowed you to clone it via command line, anyone with the repo name would just clone it and get access
SSH won't work either
You can clone a private repository by using this url: 'https://user:password@your_git_repo_url.git'
true I didn't know anything ab. git last year cuz I had only used it to clone public repos 💀