QuestenaPractice that shows what to review next
Question 8

Which two operations does `git pull` combine?

  1. `git fetch` followed by `git rebase` — since Git 2.34 rebasing is the standard integration mode for `git pull`
  2. `git clone` limited to the current branch
  3. `git fetch` alone — it never changes local branches
  4. `git fetch`, then integration of the fetched branch into the current one — by merge or rebase, per options and configurationCorrect answer

Explanation

git pull is fetch plus an integration step. Which integrator runs is chosen by --rebase / --no-rebase and the pull.rebase configuration; when the branches have diverged and nothing is configured, modern Git refuses to guess and asks you to choose a reconciliation mode.

Continue with this test

Start practice
Question 8: Which two operations does `git pull` combine? · Git Fundamentals · Questena