Git clone uses account password windows

If linux needs an account password, it will prompt for input, while windows will directly give a 403 error.

git clone http://邮箱(或用户名):密码@仓库http地址

Example:

Email: [email protected]

Password: password

Warehouse: https://gitee.com/sunshine-fork/aliyun_oss.git

Note: @ in the mailbox should be replaced by %40. The repository URL does not require https://.

Order:

git clone http://xw%40qq.com:[email protected]/sunshine-fork/aliyun_oss.git

Supongo que te gusta

Origin blog.csdn.net/SUNbrightness/article/details/122304775
Recomendado
Clasificación