-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
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
拉取私有仓库 #71
Comments
用户名就是你的github用户名,密码现在只能用Token,明文密码不行 |
git clone https://user:TOKEN@ghproxy.com/https://github.com/xxxx/xxxx TOKEN自己在github.com个人设置里创建 |
拉取私有仓库文件可以吗?我试了下还是返回401 |
我试了是可以的,User用URLencode过的用于登录github的邮箱 |
user 就是 user 这个单词,不需要是自己的用户名或者邮箱 git clone https://user:ghp_xxxxxxxxxxx@ghproxy.com/https://github.com/xxxxxx/xxxxxx 多台服务器都测试过,没有问题 |
谢谢大佬 |
我想问下,ghproxy.com这个如何用于私有GitHub仓库,我直接拉取的时候跟公有库一样在链接开头加上这个,它返回401,然后问我要用户名密码,不知道填啥用户名密码,但直接拉是能啥都不用输入就能拉取的,就比如说https://github.com/test/test 是个私有仓库,我在本地直接git clone https://github.com/test/test ,什么都不用输入就能完成克隆,但如果是git clone https://ghproxy.com/https://github.com/test/test 就会问我要用户名密码,不知道要怎么用
The text was updated successfully, but these errors were encountered: