Engrain by ByteRush

FND.04.04 Junior

Undoing things safely

Comes up in: Recruiter screen

This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.

What it covers

  • restore, reset (soft/mixed/hard), revert, stash, reflog
  • never rewrite shared history
  • amending

Words you will know

revertresetstashreflog

What you will practise

  • recover a "lost" commit with reflog