Eclipse Git plugin - remove file from repo without deleting local

naomi picture naomi · Nov 23, 2011 · Viewed 22.3k times · Source

Using the Egit plugin, is it possible to permanently remove a file from source control without deleting the local copy?

I.e., is there a GUI action equivalent to running "git rm --cached"?

(Edited to simplify question)

Answer

naomi picture naomi · Nov 29, 2011

I have found the answer. Team->Untrack is indeed the equivalent of "rm --cached". However there is a known bug which produces weird behaviour when you untrack and then try to commit.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=363405