Which files do you commit and/or omit from your source control?

前端 未结 5 497
囚心锁ツ
囚心锁ツ 2021-01-06 04:09

I think we can all agree, when a developer gets a project out of their source control system... it should successfully build.

Question: What extraneous files do you

相关标签:
5条回答
  • 2021-01-06 04:13

    Include information about the database schema (diagram), set up queries and other special config params

    0 讨论(0)
  • 2021-01-06 04:15

    I always leave out compiled files, which for me are generally of the .pyc variety.

    0 讨论(0)
  • 2021-01-06 04:28

    In addition to generated files, in Visual Studio I leave out mstest files (.vsdmi), resharper user files, Visual Studio user files (.suo).

    0 讨论(0)
  • 2021-01-06 04:32

    My global ignore pattern for TortoiseSVN is: *.vbw *.scc *.vbg */bin */obj *.bak *.user *.suo *.webinfo bin obj *.dll *.pdb *.exe which covers both VB6 and C#.

    0 讨论(0)
  • 2021-01-06 04:35

    Anything that's generated from the items you check into source control.

    Things I check in:

    1. Source files (usually .java for me, but can be other languages)
    2. 3rd party JARs
    3. Configuration XML or .properties
    4. HTML, CSS, JSPs for web apps
    5. SQL scripts
    6. Design (UML) and documentation (Word or HTML)
    7. Unit test classes and any data I need to run them

    Things I don't:

    1. Compiled .class files
    2. Generated JAR or WAR files
    3. javadocs
    4. JUnit report HTML and results
    0 讨论(0)
提交回复
热议问题