Using the Yii PHP framework with Mercurial as version control.
Which files and directories should I ignore when putting my Yii webapp project under version control (i.e. what to put in .hgignore)?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
One of the examples (for Git, but you can adapt it to Mercurial) recommends to ignore:
swp– VIM swap files.buildpath,.project,.settings– files and folders generated by Eclipse.idea– folder generated by JetBrains PhpStormassets/*– everything under assets are generated by Yii during runtimeruntime/*– same goes to everything under runtime, we wouldn’t want to version control themprotected/data/*.db– for sqlite users, stop version control sqlite databasesprotected/tests/report/*– code coverage test report (Just started practising TDD, hence this)