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 config.php. Example difference: Live server: domain="site.com" Local dev server: domain="site.lc" 1) 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? 2) Use a hook script to localize the server content while merge compare is done. Is that possible to do something similar? How others do this? Thanks, Konrad -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
