github中某个文件夹出现白色箭头
注:如果报错:fatal: unable to access 'https://github.com/luolihui/web-learning.git/': Recv failure: Connection was reset。1删除 .git 文件夹(如果隐藏了,需要点击查看->显示->勾选 隐藏的项目)2git rm --cached 文件夹名。4git commit -m "版本信息"先说
·
先说一下原因:此文件夹内有 .git 文件夹
解决方法:
1 删除 .git 文件夹(如果隐藏了,需要点击 查看->显示->勾选 隐藏的项目)
2 git rm --cached 文件夹名
3 git add .
4 git commit -m "版本信息"
5 git push -u origin master
注:如果报错:fatal: unable to access 'https://github.com/luolihui/web-learning.git/': Recv failure: Connection was reset
需要执行命令
git config --global --unset http.proxy
git config --global --unset https.proxy
在 cmd 中执行 ipconfig/flushdns 清理dns缓存
更多推荐
已为社区贡献1条内容
所有评论(0)