原因:
缺少用戶認證信息。
解決辦法:
在 .git 的 config 配置文件中的請求串中加入用戶身份的認證信息。
https://[userName]:[password]@github.com/[username]/project.git
例如:
[remote "origin"] url = http://wangshzh:11111111@gitlab.qdum.com/zhangyb/dmavip.git fetch = +refs/heads/*:refs/remotes/origin/*