Flashcardsfor IT Certifications

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.

Last updated: · Report an error on this page

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