Interview Prep/Git & GitHub/Branching strategies, pull requests and code review

What is a feature flag and how does it relate to branching?

IntermediateConceptBranching strategies, pull requests and code review
Answer

A runtime toggle that decouples deploying code from releasing it. With flags, unfinished code can merge to trunk without being user-visible, which removes the need for long feature branches. Flags need ownership and cleanup to avoid permanent debt.

All Git & GitHub questions Roadmap: Git & GitHub

More on Branching strategies, pull requests and code review