Skip to content
KALANBLON
Show contents

Chapter 6 of 6 · 10 min

Quiz: keeping a clean history

Merge, rebase, undo, reflog and conflicts: the last quiz of this course. You need 70% correct answers to pass it.

Quiz

7 questions · pass mark: 70%

  1. 1.After a rebase, why do the replayed commits have new identifiers?

    One answer

  2. 2.A commit merged into main yesterday broke the discount calculation. What should you do?

    One answer

  3. 3.Which commands rewrite history and should be avoided on commits that are already shared? (several answers)

    Several answers possible

  4. 4.Complete the command that shows the log of HEAD's movements, to find a "lost" commit.

    Complete the code

    git _____
  5. 5.You must force-push your own pull request branch after a rebase. Which option is the safest?

    One answer

  6. 6.During a conflict, what does the part between ======= and >>>>>>> origin/main represent?

    One answer

  7. 7.Both conflicting versions are wanted. How do you resolve it?

    One answer

Your progress is saved on this device. Create a free account to keep your progress on all your devices.