Skip to content

Instantly share code, notes, and snippets.

@octavian-nita
Last active July 21, 2025 08:10
Show Gist options
  • Select an option

  • Save octavian-nita/7f91fa7f1d5cf8a927b9 to your computer and use it in GitHub Desktop.

Select an option

Save octavian-nita/7f91fa7f1d5cf8a927b9 to your computer and use it in GitHub Desktop.
WinMerge directory/file filter to ignore .git and IDE-specific files and directories
## This is a directory/file filter for WinMerge
name: gitignore++
desc: Ignore .git and IDE-specific files and directories
## 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: \.iml$
f: \.buildpath$
f: \.classpath$
f: \.project$
f: nbactions\.xml$
f: nb-configuration\.xml$
d: \\\.git$
d: \\\.idea$
d: \\\.settings$
d: \\nbproject$
d: \\target$
d: \\\.angular$
d: \\node_modules$
@bohni
Copy link
Copy Markdown

bohni commented Jul 21, 2025

For Angular and NodeJS add

d: \\\.angular$
d: \\node_modules$

@octavian-nita
Copy link
Copy Markdown
Author

Good update, @bohni, thanks! At the time, I wasn't using JS :)

@bohni
Copy link
Copy Markdown

bohni commented Jul 21, 2025

You're welcome. By the way, thanks for this idea/filter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment