Different git paths on staging and production
-
My installation of revisr didn’t automatically detect the path to git so as advised I set it manually in wp-config using define( ‘REVISR_GIT_PATH’, ‘/usr/local/bin/git’ ); On my production server
I’d like to use my local Wamp server for development/staging and this server will have a different path to git (C://program-files…) and so I guess I’ll have to set this in the wp-config too.
I’m wondering how I manage these 2 different wp-config files. Ideally I’d like to keep them in sync but obviously want to keep these values independent. I guess I could just leave the wp-config file out of the repo but if I can get around this I’d love to know how.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Different git paths on staging and production’ is closed to new replies.