V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
abccba
V2EX  ›  问与答

git difftool 怎么彻底退出?

  •  
  •   abccba · Jun 29, 2015 · 4755 views
    This topic created in 3965 days ago, the information mentioned may be changed or developed.

    假设改动了100个文件,现在我这里的配置是用vimdiff进行合并,
    一旦执行git difftool,首先会出现第1个文件的diff,:qa后是第2个文件的diff,假设在第3个文件时我想彻底退出(剩下的文件不diff了)该咋办?总不能来个100次:qa吧。。。

    除了kill.

    谢谢。

    2 replies    2015-06-30 09:04:15 +08:00
    caixiexin
        1
    caixiexin  
       Jun 30, 2015
    不知道你是不是在终端下这么用的。
    我试了下,关闭比对窗口后,鼠标马上点下刚才执行git difftool终端窗口,按ctrl+c就中断了。
    ps:我git difftool配的是beyond compare,不是用默认的vimdiff 。
    abccba
        2
    abccba  
    OP
       Jun 30, 2015
    @caixiexin 是的,终端。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6069 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 03:14 · PVG 11:14 · LAX 20:14 · JFK 23:14
    ♥ Do have faith in what you're doing.