What should NOT be under source control?

前端 未结 24 2388
野的像风
野的像风 2020-12-04 07:24

It would be nice to have a more or less complete list over what files and/or directories that shouldn\'t (in most cases) be under source control. What do you think should be

24条回答
  •  情书的邮戳
    2020-12-04 08:19

    Actual config files such a web.config in asp.net because people can have different settings. Usually the way I handle this is by having a web.config.template that is on SVN. People get it, make the changes they want and rename it as web.config.

    Aside from this and what you said, be careful of sensitive files containing passwords (for instance).

    Avoid all the annoying files generated by Windows (thumb) or Mac OS (.ds_store)

提交回复
热议问题