Revert "Fix core gitignore patterns for file matching"

This reverts commit 1d1748aa88d29f518f69c37963042c6d9cba491f.
Use conf-mode for gitignore.core