每次用TortoiseGit Pull或者Push的时候都会弹出让输入用户名.密码的框, 很麻烦 ,解决办法如下: 解决办法如下: Right click → TortoiseGit → Settings → Git → Credential. 设置为 wincred - this repository only 或者 wincred - current Windows user tip: 注意,config type要设置为全局的;
问题:github有一个空项目,将本地项目上传到github空项目时,报错如下 $ git push --set-upstream git@github.com:dslu7733/promise.git master error: src refspec master does not match any. error: failed to push some refs to 'git@github.com:dslu7733/promise.git' 解决办法 1. 账户问题 我的本地以前配置过