I would like to ignore some particular files from committing bundle, so included them into project's ".gitignore" file:
MDK-ARM/test1_prj/
!MDK-ARM/test1_prj/*.hex
!MDK-ARM/test1_prj/*.axf
MDK-ARM/JLinkLog.txt
But unfortunately, the last line doesn't work, and consistently included in commits, can't explain why.
Another question is how to ignore changing .gitignore itself (except hiding 'em)
PS: Briefly saying I want to exclude all compiling and debugging junk except the resulting files.