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.