git
auferack
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
git提交代码出现can not merge的解决方法
git出现can not merge的解决方法当git提交多次时,后提交的代码先合入,先提交的代码会出现can not merge问题,下面是解决方法。1、先执行命令:git stash注:此命令是备份当前的工作区,防止当前工程中已修改的代码出现丢失,同时将工作区中的代码保存到git栈中。2、再执行命令:git pull注:此命令是不再解释。3、最后执行命令:git stas...原创 2018-11-12 13:59:37 · 20586 阅读 · 2 评论 -
git出现 You are in the middle of a merge -- cannot amend问题解决方法
解决方法:git reset --merge注:取消合并git rebase注:将当前分支重新设置基线git diff -w +冲突的文件注:查看冲突点,修改冲突的文件,达到提交的状态。git rebase --continue注:让rebase继续处理git add注:追加修改后的文件git rebase --continue注:让rebase继续...原创 2018-11-12 14:19:01 · 55973 阅读 · 4 评论
分享