
Git
小兔AAA
这个作者很懒,什么都没留下…
展开
-
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.proxy 2.git push...原创 2020-03-12 08:46:04 · 202 阅读 · 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 · 480 阅读 · 0 评论 -
git与远程仓库同步
手残通过git reset 回退错了,使用git reset --hard origin/master 使本地仓库与远程仓库达到一致。原创 2019-10-28 15:15:24 · 261 阅读 · 0 评论