Git
Alisa_zmx
这个作者很懒,什么都没留下…
展开
-
git相关问题
1.git pull时报错 fatal: unable to access ‘https://github.com/…/.git’: Could not resolve host: github.com执行以下命令git config --global --unset http.proxy git config --global --unset https.proxy2.git push...原创 2020-03-12 08:46:04 · 168 阅读 · 0 评论 -
git pull报错The following untracked working tree files would be overwritten by merge
git版本回退后进行git pull报错如下:The following untracked working tree files would be overwritten by merge解决办法:git clean -d -fx删除没有add到仓库的文件,操作需谨慎,以免丢失改动文件。...原创 2020-02-04 11:42:18 · 418 阅读 · 0 评论 -
git与远程仓库同步
手残通过git reset 回退错了,使用git reset --hard origin/master 使本地仓库与远程仓库达到一致。原创 2019-10-28 15:15:24 · 208 阅读 · 0 评论