V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
AZZERO
V2EX  ›  问与答

git revert <version> 失败 总提示 conflicts 是什么原因呢

  •  
  •   AZZERO · 2017-12-31 23:11:52 +08:00 · 1776 次点击
    这是一个创建于 2279 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我在用 git revert <version>命令撤销某次操作的时候,譬如(a)--(b)--(c)--(a') (用 revert 回退到 a 提交新的 a')终端提示说有 conflicts,我解决后重新 commit 不成功,重新用 git revert <version>命令说是有文件没有 merge,我该怎么才能 revert 成功?求助……

    执行的命令如下:

    [root@yun testproject]# git revert dbe71a34db7b7f361e76a6174d472ff37c82868d

    Automatic revert failed. After resolving the conflicts,

    mark the corrected paths with 'git add <paths>' or 'git rm <paths>'

    提示 revert 失败

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1035 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:25 · PVG 06:25 · LAX 15:25 · JFK 18:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.