Git remove --cached by TortoiseGit

2019-01-28 21:06发布

问题:

I have updated my .gitignore file and now I want to update the index. I want to execute git rm --cached command. But how can I do it by TortoiseGit?

回答1:

Right click that file, choose TortoiseGit -> Delete (keep local). This does git rm --cached.