Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: ignored files stilll listed in git ls-files

From: Jeff King <hidden>
Date: 2016-06-15 22:46:20

On Thu, Mar 05, 2009 at 09:31:55AM +0800, David Shen wrote:
I add all the files to git before I learned the .gitignore file. Then
I remove those unwanted files from the index. But those files still
appear in git ls-files. This is really annoying. Is there any want to
prevent those ignored files from git ls-files?
If they are appearing in "git ls-files", then you didn't actually remove
them from the index. Can you show us exactly which commands you ran,
what output they produced, and how it differs from what you expected?

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help