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