I want to remove certain files from the index of a git repository, but 
retain them in the directory.They should be removed from all branches, that 
is, when finished they should exist as untracked files.  I tried using git 
filter-branch with git-rm --cached, as described 
in https://help.github.com/articles/remove-sensitive-data/, however, that 
removed them from the directory.  I could restore the files (from the 
original, I'm working in a clone, of course), but am wondering why git-rm 
--cached removed the working files.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to