title: .gitignore: How to ignore file and not ignore folder
body: <p>I want to ignore files without exclamation marks. I think that the regular expression is  <code>*[!.]*</code>, but this ignores folders names too. Does <code>.gitignore</code> have a folder/file marker?</p>