How to get the list of "effective" Git ignore patterns?

Viewed 81

It is possible in a Git repo to have multiple "ignore files" in effect at the same time. Is there a way to get a list of the effective ignore patterns, merging from all currently active .gitignore files?

Note that I am specifically asking for the list of patterns, not the names of ignored files themselves.

0 Answers
Related