Improve ignore pattern

Improve ignore pattern ignoring everything but config files
Merge pull request #194 from janv8000/patch-1

Improve ignore pattern