gitbase命令

fatal: authentication failed for
参考:【已解决】git error: could not lock---Permission denie-Incorrect username and passwordC:/Program Files/Gi
https://my.oschina.net/u/4350128/blog/4707275

重置登陆账号:git config --system --unset credential.helper
保存账号信息:git config --global credential.helper store

刷新ignore文件
1、使用命令工具Git Bash,进入需要修改的工作目录。如C:/est
则输入
cd c:/test
2、重置所有缓存(注意后面有个.)
git rm -r --cached .
3、重新添加(注意后面有个.)
git add .
4、提交
git commit -m ".gitignore is now working"

没有标记转载的情况下,如果有更好的优化麻烦电邮1808937496@qq.com或者留言答复,Thank You
原文地址:https://www.cnblogs.com/wandia/p/15329647.html