git clone http://username:password@127.0.0.1/res/res.git
指定用户名clone,有时需要切换clone 的用户名,不切换,会默认config user.name 的用户名;
而且很多博客上介绍的设置config user.name的方法不行;
git clone http://username:password@127.0.0.1/res/res.git
指定用户名clone,有时需要切换clone 的用户名,不切换,会默认config user.name 的用户名;
而且很多博客上介绍的设置config user.name的方法不行;
原文:http://www.cnblogs.com/pansidong/p/8063874.html