hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    In the context of Software Configuration Management (SCM), what kind of files should be committed to your source control repository? A. Code files
    Question



    In the context of Software Configuration Management (SCM), what kind of files should be committed to your source control repository?
    A. Code files
    B. Documentation files
    C. Output files
    D. Automatically generated files that are required for your system to be used
    Choose the correct answer from the options given below:

    A.

    A and B only

    B.

    B and C only

    C.

    C and D only

    D.

    D and A only

    Correct option is A


    In Software Configuration Management (SCM), it is recommended to commit code files and documentation files to the source control repository. These files are essential for maintaining the source code and ensuring proper documentation for understanding and collaboration.
    Information Booster
    1. Code Files: These are the primary files that define the application or software system and are crucial for development and maintenance. They must always be version-controlled.
    2. Documentation Files: These include design documents, README files, or user manuals that explain the functionality and usage of the codebase. They support collaboration among team members.
    3. Output Files (like logs or compiled executables) should not be committed because they can be regenerated from the code during the build process.
    4. Automatically Generated Files (like temporary or cache files) are also excluded as they are system-specific and do not require version control.
    5. Best practices in SCM emphasize maintaining only essential, manually created files in the repository to avoid unnecessary clutter and ensure a clean version history.
    Additional Knowledge
    · Output files can be very large and redundant since they can be recreated from the source files.
    · Automatically generated files can vary across environments, leading to inconsistencies in the repository.
    · Including unnecessary files in a repository increases maintenance overhead and risks introducing errors during version merges.

    Free Tests

    Free
    Must Attempt

    Basics of Education: Pedagogy, Andragogy, and Hutagogy

    languageIcon English
    • pdpQsnIcon10 Questions
    • pdpsheetsIcon20 Marks
    • timerIcon12 Mins
    languageIcon English
    Free
    Must Attempt

    UGC NET Paper 1 Mock Test 1

    languageIcon English
    • pdpQsnIcon50 Questions
    • pdpsheetsIcon100 Marks
    • timerIcon60 Mins
    languageIcon English
    Free
    Must Attempt

    Basics of Education: Pedagogy, Andragogy, and Hutagogy

    languageIcon English
    • pdpQsnIcon10 Questions
    • pdpsheetsIcon20 Marks
    • timerIcon12 Mins
    languageIcon English
    TEST PRIME

    Access ‘UGC NET Computer Science’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    1 month
    students-icon
    361k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow