Skip to content

Instantly share code, notes, and snippets.

@shooksm
Created July 1, 2015 19:06
Show Gist options
  • Save shooksm/f6e5f0172b1fbf89fbbd to your computer and use it in GitHub Desktop.
Save shooksm/f6e5f0172b1fbf89fbbd to your computer and use it in GitHub Desktop.
WinMerge Filter for a Java project in Intellij using GIT for version control
## This is a directory/file filter template for WinMerge
name: Java Intellij Git Filter
desc: Excludes compiled Java files, maven target folders, node_modules, Intellij project files, sass-cache and git folders
## This is an inclusive (loose) filter
## (it lets through everything not specified)
def: include
## Ignore git
d: \\\.git$
## Ignore compiled Java files
f: \.class$
f: \.jar$
## Ignore Maven target folder
d: \\target$
## Ignore node_modules folder
d: \\node_modules$
## Ignore Intellij Project files
d: \\\.idea$
f: \.iml$
## Ignore sass-cache
d: \\\.sass-cache$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment