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.
More on Branching strategies, pull requests and code review
What is a feature-branch workflow?BeginnerWhat is GitFlow and what are its branches?IntermediateWhat is trunk-based development and what does it require?IntermediateWhat is GitHub Flow and how does it differ from GitFlow?BeginnerWhat is release-branch strategy with cherry-picked fixes?IntermediateWhat makes a good pull request?Beginner