Re: ignore .htaccess on git

2015-04-16 Thread Reuben
Hi You could supply .htaccess-sample and /webroot/.htaccess-sample files, and have the .gitignore entries for .htaccess. This will provide samples files that developers could copy and modify as needed, and prevent those proper versions from being checked in. Regards Reuben Helms On Thursday,

ignore .htaccess on git

2015-04-16 Thread Radharadhya Dasa
Hi, My CakePHP project has a github repo. I want to add a sample .htaccess and /webroot/.htaccess file to the repo, but I do not want to track them, as different developers have to set up their own RewriteBase directive. How to do this? If I add them to .gitignore they will not be in the repo.