I like clean and simple files/code. So, I am using a global .gitignore depending on the machine settings ( IDE &|| OS Specific...). excerpt:
# exclude OSX Files
.DS_Store
# exclude Logfiles
*.log
# exclude Netbeans project files
/nbproject
Netbeans git support is improving and that's ok, but since 7.0 NB it is driving me crazy.
Every time I modify code in my project NB modifies the projects .gitignore as well and adding:
/nbproject
to the gitignore.
How do I stop Netbeans doing this, without deactivating the git support?