Possible Duplicate:
Git is deleting an ignored file when i switch branches
Precondition: Config files are included in .gitignore removed from every branch.
Problem: Config files that should are not in the repo are deleted when I switch from branch to branch.
What triggered the issue: Config files were added to repo once and then removed with git rm --cached <file>
Any help would be appreciated, I add the files again and again, but when I switch to another branch they get deleted. thanks.