V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
laomutuo
V2EX  ›  程序员

git filter-branch 移除文件失败,为何?

  •  
  •   laomutuo · 2015-02-10 11:19:47 +08:00 · 3266 次点击
    这是一个创建于 3362 天前的主题,其中的信息可能已经有所发展或是发生改变。

    git filter-branch --tree-filter 'rm vi.exe.stackdump' HEAD
    Rewrite 2feb632f1d197973d4aef6912e7631b92c2a090d (1/970)rm: cannot remove 'vi.ex
    tree filter failed: rm vi.exe.stackdump

    ls vi.exe.stackdump
    vi.exe.stackdump
    文件就在当前目录啊,为何不能删除?

    1 条回复    2017-12-24 20:51:23 +08:00
    harryhare
        1
    harryhare  
       2017-12-24 20:51:23 +08:00
    rm -f ?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5006 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 01:15 · PVG 09:15 · LAX 18:15 · JFK 21:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.