windows下找到用户目录,新建 _netrc 文件
_netrc
machine git.notech.cc login user password xxxxxx
Linux下同样可行,需要在~目录下新建 .netrc 文件,文件内容同上
.netrc
git免密操作
原文:http://www.cnblogs.com/toward-the-sun/p/6230087.html