
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 · 202 阅读 · 0 评论 -
常用 Git 命令清单
我每天使用 Git ,但是很多命令记不住。一般来说,日常使用只要记住下图6个命令,就可以了。但是熟练使用,恐怕要记住60~100个命令。下面是我整理的常用 Git 命令清单。几个专用名词的译名如下。Workspace:工作区Index / Stage:暂存区Repository:仓库区(或本地仓库)Remote:远程仓库一、新建代码库在当前目录新建一个Git代码库$ git in...原创 2019-05-18 09:36:05 · 181 阅读 · 0 评论