git config --global credential.helper manager 输入一次邮箱和密码之后可以免密操作。 转载于:https://my.oschina.net/qiudaozhang/blog/2988945