git rm -r --cached . git add . git commit -m 'update .gitignore' //windows 使用的命令是 git commit -m "update .gitignore" 需要使用双引号
git 设置ssh key
ssh-keygen -t rsa -C “haiyan.xu.vip@gmail.com”
git 本地覆盖远程
git push origin master --force
如果觉得博客文章对您有帮助,异或土豪有钱任性,可以通过以下扫码向我捐助。也可以动动手指,帮我分享和传播。您的肯定,是我不懈努力的动力!感谢各位亲~