I have a live server & a local development server, both Linux.

I develop and have my local repo under Windows.

Both Linux servers are connected to my local repo as remote repos.

My problem is, that local server has some localized content, like 

Example difference:
Live server:
Local dev server:

One solution would be to add config.php 
to .gitignore, but this risks that if I add another config variable to the 
server, it will be not merged to the local dev server.

Is there a possibility to add regular expressions to the .gitignore file?

Use a hook script to localize the server content while merge compare is 
Is that possible to do something similar? 
How others do this? 


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to