Skip to content
TerminalA commit that undoes
Git

A commit that undoes

Fiyatlar ikiye katlandı, two commits back, was a mistake, but the history is shared: you cannot delete it. Make a new commit that undoes that one; banner.txt, added after it, stays.
  • prices.txt has the old prices
  • banner.txt is still committed
  • The bad commit is still in the history
  • There is a Revert commit in the history

The reference takes 1 command: finish in that many, without hints, for three stars.

Files

    My submissions