小编Luc*_*cas的帖子

Git rebase - 即使所有合并冲突都已解决,也会继续抱怨

我正面临一个我不确定如何解决的问题.

我从我的分支机构对主人做了一次反对:

git rebase master
Run Code Online (Sandbox Code Playgroud)

并得到以下错误

 First, rewinding head to replay your work on top of it...
 Applying: checkstyled.
 Using index info to reconstruct a base tree...
 Falling back to patching base and 3-way merge...
 Auto-merging AssetsLoader.java
 CONFLICT (content): Merge conflict in AssetsLoader.java
 Failed to merge in the changes.
 Patch failed at 0001 checkstyled.
Run Code Online (Sandbox Code Playgroud)

所以我去了我最喜欢的编辑器,修复了1行冲突,保存了文件并执行了git状态并获得了以下输出:

 # Not currently on any branch.
 # Changes to be committed:
 #   (use "git reset HEAD <file>..." to unstage)
 #
 #  modified:   PassengerContactHandler.java
 #
 # …
Run Code Online (Sandbox Code Playgroud)

git rebase

94
推荐指数
7
解决办法
7万
查看次数

标签 统计

git ×1

rebase ×1