Check whats ignored by GIT

Veröffentlicht von

Some months ago I started to work with GIT. The shift from SVN to GIT wasn’t easy, but now that I’m into GIT I love. Since GIT offers a lot of commands and corresponding options, which I can’t always remember, I decided to include them in my block (to use it as my reference book).

GIT offers the ability to ignore files/folders based on defined regex patterns. These patterns are contained in the .gitignore file of your cloned repositories.

One of the arising questions regarding gitignore is „How can I see what files/directories in my working copy are ignored?“ I found a very handy command in this StackOverflow answer:

git status --ignored

Above command dumps all folders and files in a recursive manner.

Kommentar hinterlassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.