I have a local working copy of a git repo, and it needs to have some changes in order to work for local testing, but I don't want those changes to be sent to remote when I do add --all and commit.
Basically the files are:
/protected/config/*
/protected/components/UserIdentity.php
I tried adding those into .git/info/exclude, but git status still shows the changes (which are already made to the files).
I need the files to stay in the remote, but locally they must be changed and immune to eg. pull.
Is there a way?