Skip to content

Instantly share code, notes, and snippets.

@segilbert
Created February 21, 2017 23:02
Show Gist options
  • Save segilbert/0e53af23718fa1dac3e2062f413574f9 to your computer and use it in GitHub Desktop.
Save segilbert/0e53af23718fa1dac3e2062f413574f9 to your computer and use it in GitHub Desktop.
WinMerge Git Internal Folder Filter
## This is a directory/file filter template for WinMerge
name: Git Folder
desc: Filter out all Git Folder (.git) diffs
## 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)
d: \\.git$ ## Filter all .git internals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment