.gitignore for MPS
10 ignore rules for MPS, ready to copy into your repository.
Language workbench
The complete .gitignore for MPS
# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:29:19 UTC
# Technologies: MPS
### MPS ###
workspace.xml
junitvmwatcher*.properties
build.properties
classes_gen
source_gen
source_gen.caches
test_gen
test_gen.caches
TEST-*.xml
junit*.properties
What these MPS rules actually ignore
Every pattern below, and why it belongs in your .gitignore.
General
| Pattern | What it ignores |
|---|---|
workspace.xml |
General |
junitvmwatcher*.properties |
General |
build.properties |
General |
classes_gen |
generated java classes and java source files manually add any custom artifacts that can't be generated from the models http://confluence.jetbrains.com/display/MPSD25/HowTo+--+MPS+and+Git |
source_gen |
General |
source_gen.caches |
General |
test_gen |
generated test code and test results |
test_gen.caches |
General |
TEST-*.xml |
General |
junit*.properties |
General |
How to use this .gitignore for MPS
- Copy the MPS rules above, or download the file directly.
- Create a file named .gitignore at the root of your Git repository and paste the rules into it.
- If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
- Commit the .gitignore so everyone on the team shares the same rules.