Chapsterj Chapsterj - 1 year ago 96
Git Question

Ignore all files with the same name in git

Is there a way to have a

git ignore file
to ignore all files with the name test in them?

I have files like this:

- css/test.css
- js/subfolder/test.js
- lib/main/sub/test.html

and so on.

I want
to avoid adding or committing any files with the name test.

Jam Jam
Answer Source

Update .gitignore with test*

Also, read this for more information.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download