V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
laomutuo
V2EX  ›  程序员

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

  •  
  •   laomutuo · Feb 10, 2015 · 4064 views
    This topic created in 4099 days ago, the information mentioned may be changed or developed.

    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 replies    2017-12-24 20:51:23 +08:00
    harryhare
        1
    harryhare  
       Dec 24, 2017
    rm -f ?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2564 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 07:47 · PVG 15:47 · LAX 00:47 · JFK 03:47
    ♥ Do have faith in what you're doing.