What to put under version control?

前端 未结 8 594
悲&欢浪女
悲&欢浪女 2020-12-01 12:43

Almost any IDE creates lots of files that have nothing to do with the application being developed, they are generated and mantained by the IDE so he knows how to build the a

8条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-01 13:10

    In my opinion, anything needed to build the project (code, make files, media, databases with required program info, etc) should be in repositories. I realise that especially for media/database files this is contriversial, but to me if you can't branch and then hit build the source control's not doing it's job. This goes double for distributed systems with cheap branch creation/merging.

    Anything else? Store it somewhere different. Developers should choose their own working environment as much as possible.

提交回复
热议问题