Skip to content

Instantly share code, notes, and snippets.

@JimnyGitHub
Forked from shooksm/JavaIntellijGit.flt
Created November 24, 2023 13:29
Show Gist options
  • Select an option

  • Save JimnyGitHub/e9a2dbe5524f7628ca7fbe0babc8855c to your computer and use it in GitHub Desktop.

Select an option

Save JimnyGitHub/e9a2dbe5524f7628ca7fbe0babc8855c 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