QuestenaÜben und erkennen, was als Nächstes dran ist
Frage 7

Under a normal remote configuration, what does `git fetch origin` do?

  1. Downloads new commits from origin and immediately merges them into your currently checked-out branch
  2. Updates your remote-tracking branches from origin without changing your local branches or working treeRichtige Antwort
  3. Uploads your local commits to origin
  4. Switches your working tree to the state of origin's default branch

Erklärung

Fetch is the download-only half of synchronization: it retrieves new objects and updates remote-tracking refs such as origin/main, leaving your own branches and working files exactly as they were. The tempting distractor is the one about downloading and merging — that is what `git pull` does, not `git fetch`.

Mit diesem Test weitermachen

Übung starten
Frage 7: Under a normal remote configuration, what does `git fetch… · Git Fundamentals · Questena