免密git clone/git pull

在用程序操作代码的时候,每次要输入密码,那简直是异常灾难。

免密clone/pull,除了配置SSH-KEY之外,还可以直接在url中加入用户名-密码,如下

git clone http://your-count:your-password@devops.gsafety.com/git/JCyFR321323/gs-mdp-android-templete.git 

更多详情,参考这篇文章:https://blog.csdn.net/u014714147/article/details/103683964

原文地址:https://www.cnblogs.com/dannyyao/p/12256424.html