I tried this solution with no lucK: How I can store some local changes that survives git reset --hard
Basically I have a script on the server that deploys my git to sites. Even though I did:
git update-index --no-skip-worktree -- config/production.ini
Are there any solutions that'll allow me to successfully not have this config file being overridden each time?
My script does:
129 exec('git reset --hard', $output);
134 exec('git pull '.$this->_remote.' '.$this->_branch, $output);
So basically a git reset
then git pull
.