QuestionQ279Verified/Development and TestingCopy linkReport a problemAsk AstroTutorSave questionWhich branch naming convention is recommended for storing production code in the repository?AProduction code can be stored in a specific branch such as “release,” which is commonly used for finalizing and disseminating stable versions of the code.BProduction code could be stored in “develop,” especially in scenarios where ongoing testing or integration is closely tied to the production environment.CProduction code can be stored in a dedicated branch like “main,” which acts as the central source for finalized code after testing and reviews.DProduction code may be stored in feature branches like feature/{feature-name} to ensure modular development and faster access to specific functionality.Show AnswerAnswerExplanationA dedicated main branch is the repository’s central, definitive branch for code that has completed review and testing. Feature work is developed separately and merged into main when ready for deployment.Learn moreAbout Git — GitHub DocsHello World — GitHub DocsShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion