linux 如果需要账号密码会提示让输入,而windows则会直接403错误。
git clone http://邮箱(或用户名):密码@仓库http地址
示例:
密码: password
仓库: https://gitee.com/sunshine-fork/aliyun_oss.git
注意: 邮箱中的 @ 要使用 %40 代替。仓库 URL 不需要 https:// 。
命令:
git clone http://xw%40qq.com:[email protected]/sunshine-fork/aliyun_oss.git