![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
wuzuyu365
这个作者很懒,什么都没留下…
展开
-
Git Merge Failed: You have not concluded your merge (MERGE_HEAD exists).
phpstorm里面,pull代码时报错: Git Merge Failed: You have not concluded your merge (MERGE_HEAD exists).可能是本地的代码要先commit,然后处理merge一下conflict,简单点可以revert本地代码,然后pull,就ok了...原创 2018-05-01 06:45:21 · 4029 阅读 · 0 评论 -
You have not concluded your merge. (MERGE_HEAD exists)。(转)
自己简直就是一个git小白,碰到问题,一点点的解决吧,可能不太系统,但也只能勤能补拙了 本地有修改和提交,如何强制用远程的库更新更新。我尝试过用git pull -f,总是提示 You have not concluded your merge. (MERGE_HEAD exists)。我需要放弃本地的修改,用远程的库的内容就可以,应该如何做?傻傻地办法就是用心的目录重新c...转载 2018-08-15 17:22:24 · 215 阅读 · 0 评论 -
.gitignore忽略无效
有些目录比如runtime、temp、cache是不需要提交到git的,可以在项目的根目录下添加一个.gitignore纯文本忽略文件,然后写上要忽略的文件夹或文件。但是如果在写.gitignore之前已经把例如runtime文件夹提交到git了,这个忽略文件是无效的,重新生成runtime文件的时候,就会出现一堆要提交的临时文件。这时可以这样做:1.在命令行里进入...原创 2019-03-04 14:30:01 · 711 阅读 · 0 评论 -
Git提交时报错 Untracked files prevent merge
Git提交时报错 Untracked files prevent merge有个数据库连接文件database.php,本地和线上的配置是不同的,本地的文件不允许上传到线上,否则就把线上的搞乱了,因此在本地的.gitignore文件中,添加了这个database.php,Commit上传的时候也没有提示要上传这个文件,可就是奇怪,总是报错: Untracked files...原创 2019-04-23 15:01:09 · 34132 阅读 · 0 评论 -
alicode git push rejected 的解决
在阿里云code上新建了一个项目,没想到修改之后却提交不了:按网上的教程执行这个命令也无效:git pull origin master --allow-unrelated-histories说是:You are not allowed to push code to protected branches on this project:原来是阿里云上要把自己...原创 2019-08-08 09:44:38 · 449 阅读 · 0 评论 -
阿里云云效新版流水线部署成功
原创 2019-08-16 20:34:51 · 3533 阅读 · 1 评论