D1: Branching & Merging Strategies
GH-900 GitHub Foundations exam practice questions · 10 flashcards
Question
Fast-forward merge?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Branching & Merging Strategies practice questions and answers
- Fast-forward merge?Branch pointer simply moves forward when no divergent commits exist.
- Three-way merge?Creates a merge commit combining two diverged histories.
- Resolving conflicts?Edit conflict markers (<<<<<<<, =======, >>>>>>>), stage, commit.
- Feature branches?Isolate a single feature/fix until merged.
- Trunk-based development?Small frequent merges into main, often with feature flags.
- Cherry-pick?Apply a specific commit from another branch.
- Protected branch?Branch with rules preventing unsafe changes.
- Branch naming conventions?e.g. feature/login, fix/bug-123.
- Rebase vs merge trade-off?Rebase: clean linear history but rewrites commits. Merge: preserves history.
- Don't rebase what?Shared/public branches others rely on.