This forum is now Read-Only. The Magento Community Forum is scheduled to close permanently on December 31, 2025. Please save any necessary information before this date. Join us on Slack for continued engagement!
Pipeline deployment- Different .gitignore for dev/build/production? How?
Magento recommends having different .gitignore files for dev/build/production- My question is how can you achieve this? Do you .gitignore the .gitignore file itself so it does not get merged into dev/build/production branches?