我分叉了一个私人存储库,我被邀请进行协作,但每次尝试使用HTTPS进行克隆时,都会收到以下错误消息:
$ git clone https://github.com/usernamex/privat-repo.git
cloning into 'privat-repo'...
Username for 'https://github.com':usernamex
Password for 'https://usernamex@github.com':
remote: Repository not found.
fatal: repository 'https://github.com/usernamex/privat-repo.git/' not found
Run Code Online (Sandbox Code Playgroud)
Note: 'usernamex' and 'privat-repo' are just examples
这是我尝试过的一些没有成功的事情:
download ZIP
按钮访问repo URL并通过浏览器下载其内容.git clone
和git push
.事实上,我可以在我的帐户中克隆并推送其他(公共)存储库.我通过终端在mac上运行git 2.10,正如我所提到的,我对HTTPS的解决方法不感兴趣(例如:SSH或GitHub桌面).
任何想法为什么会这样?