I use Git with WindRiver to manage my project. The code is managed, however project files (such as .cproject, .project, .wrmakefile and .wrproject) are not. However, when I switch branches, Git deletes these files, even though they are in .gitignore, thereby removing my ability to compile code without returning a commit or saving a backup.
So, is there a way to tell Git to ignore these files and not touch them no matter what?
source share