Search code examples
eclipsegitegitforce.com

Eclipse Git plugin - remove file from repo without deleting local


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)


Solution

  • 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