D1: The GitHub Flow
GH-900 GitHub Foundations exam practice questions · 10 flashcards
Question
What is GitHub Flow?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 The GitHub Flow practice questions and answers
- What is GitHub Flow?A lightweight branch-based workflow: branch → commit → open pull request → review → merge → deploy/delete branch.
- Step 1 of GitHub Flow?Create a descriptively named branch from main.
- Why open a pull request early?To share work, get feedback and run checks before merging (draft PRs help).
- What happens during PR review?Reviewers comment, approve or request changes; status checks run.
- After merging in GitHub Flow?Delete the feature branch; main stays deployable.
- Core rule of GitHub Flow?The main branch should always be deployable.
- GitHub Flow vs Git Flow?GitHub Flow is simpler (main + short-lived branches); Git Flow uses develop, release and hotfix branches.
- Draft pull request?A PR marked not ready for review; can't be merged until marked ready.
- Why keep branches short-lived?Fewer merge conflicts and faster feedback.
- What links work items to the flow?Referencing issues in PRs (e.g. 'Closes #12') so they close on merge.