Is there a way to tell git-status to ignore the effects of .gitignore files?

Posted by meowsqueak on Stack Overflow See other posts from Stack Overflow or by meowsqueak
Published on 2010-06-08T03:29:02Z Indexed on 2010/06/08 3:32 UTC
Read the original article Hit count: 249

Filed under:
|
|

I have configured numerous .gitignore files to filter out many different unwanted files from a set of about 6,000 untracked files. I want to do 'git add .' when I've got my filtered list looking the way I want it.

But, then I want to disable the .gitignore filters temporarily to see what got left behind, and make sure there was nothing important accidentally filtered.

I know that git-clean includes an option to ignore .gitignore files - is there a similar option for git-status?

I could go through and delete all the .gitignore files, do the check, then restore them, but it seems there should be an easier way?

© Stack Overflow or respective owner

Related posts about git

Related posts about gitignore