I have a project with some files which consist of config files with passwords and user specific data. We deploy this project to our server via git pull, and commit changes via git push from our computers.
I have noticed that git has git filter-branch commit-filer in which you can ignore password variables through sed command.
Does have any similar filter when I make pull?
I want to have on remote master origin file like this:
array(
'pass'=>'your_pass'
)
and when I make pull I want to ignore this line.
Does it have any better practice for sharing that type of files?