On local development, and on the test server, the public folder is public_html, but on production it’s html. I’d like to avoid changing too many settings – is there a way for Git to understand these are the same folder?
Edit
Here’s the structure for reference:
Test server
- webapp
- app
- core
- public_html
- index.php
Production server
- webapp
- app
- core
- html
- index.php
Symbolic links would save the day, assuming a sane platform. Git can store the symbolic link.
I’d have the symbolic link be the dev/test server name, not the production name.