![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
二七狂人
Talk is cheap. Show me the code.
展开
-
git pull 提示错误,Your local changes to the following files would be overwritten by merge
error: Your local changes to the following files would be overwritten by merge: Please commit your changes or stash them before you merge. 解决办法: 1、服务器代码合并本地代码 $ git stash //暂存当前正在进行的工作。 $ git...转载 2019-10-28 14:23:51 · 171 阅读 · 0 评论 -
常用 Git 命令清单
我每天使用 Git ,但是很多命令记不住。 一般来说,日常使用只要记住下图6个命令,就可以了。但是熟练使用,恐怕要记住60~100个命令。 下面是我整理的常用 Git 命令清单。几个专用名词的译名如下。 Workspace:工作区 Index / Stage:暂存区 Repository:仓库区(或本地仓库) Remote:远程仓库 一、新建代码库 在当前目录新建一个Git代码库 $ git in...原创 2019-05-18 09:36:05 · 157 阅读 · 0 评论