Skip to content

Instantly share code, notes, and snippets.

@mapfel
Created September 19, 2017 20:21
Show Gist options
  • Save mapfel/678099678e438f6c81561ad7b3b48596 to your computer and use it in GitHub Desktop.
Save mapfel/678099678e438f6c81561ad7b3b48596 to your computer and use it in GitHub Desktop.
filter template for WinMerge to suppress the hidden .git folder
## This is a directory/file filter template for WinMerge
name: Git-Repository
desc: Suppresses the hidden .git Folder which contains the (lokal) repository
## Select if filter is inclusive or exclusive
## Inclusive (loose) filter lets through all items not matching rules
## Exclusive filter lets through only items that match to rule
## include or exclude
def: include
## Filters for filenames begin with f:
## Filters for directories begin with d:
## (Inline comments begin with " ##" and extend to the end of the line)
f: \.ext$ ## Filter for filename
d: \\.git ## Filter for Git-Repository directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment