Ignore configs with git
In my project I have config files that have private information. I committed some example templates to Github, but I have the actual configs in my working copy so I can build from it and I don't want them available to commit. I tried using .gitignore, but the templates are already tracked. I tried git rm filename but that tries to delete the templates. I tried git update-index --assume-unchanged filename and git update-index --skip-worktree filename but they still show up as "modified" when using git status (and under Files to Commit in Github for Windows). Is there any way to ignore changes