Git Clone指定用户名密码的详细阐述
场景: 在其他终端想用 用户名密码的方式 git clone
[email protected]:wang-huamao/yygh-parent.git
解决方法:
git clone https://username:[email protected]/user/repo.git
找到 https地址:
https://gitee.com/wang-huamao/yygh-parent.git
git clone https://13161128583:[email protected]/wang-huamao/yygh-parent.git
搞定
再试试 用 邮箱是否可以 ( gitee 手机号和 邮箱都可以登录)
有@ 不好识别, 还是用手机号吧。