How to remove a file permanently in Git without getting “WARNING: Ref 'refs/heads/master' is unchanged”?

前端 未结 2 628
暗喜
暗喜 2020-12-29 22:48

I have been googling and reading various posts around the net and I\'ve tried:

git filter-branch --index-filter \"git rm -rf --cached --ignore-unmatch Launcher

2条回答
  •  遥遥无期
    2020-12-29 23:06

    Okay I solved the problem, it was the path that was wrong. I changed this:

    Launcher\lib

    to this:

    Launcher/lib/

    and now it works ;)

提交回复
热议问题