实现git免密登录 发表于 2018-08-23 在项目目录中打开git bash git config credential.helper store –file=.git_credentails. .git目录下 -> config文件中会新增credential一项 12345678910111213141516[core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true hideDotFiles = dotGitOnly[remote "origin"] url = http://xxxxxxx.git fetch = +refs/heads/*:refs/remotes/origin/*/[branch "master"] remote = origin merge = refs/heads/master[credential] helper = store 此时只要操作一次登录 以后每次登录将会实现免密登录 参考:https://blog.csdn.net/u012163684/article/details/52433645?locationNum=4&fps=1