FunctionRacerProblemsRace

Bring Back the File

MediumGita shell script

The latest commit deleted rates.csv, and the file is still needed. Bring it back exactly as it was just before that commit, and commit it with the message bring back rates.csv.

Example 1

starts as
* 87d054c (HEAD -> main) drop the old rates
* 11bcef6 add notes
* 77760fa add the rates
nothing to commit
ends as
commits, newest first:
  bring back rates.csv
  drop the old rates
  add notes
  add the rates
rates.csv:
  usd,1.0
  eur,0.9
staged: nothing
changed, not staged: nothing
untracked: nothing

Constraints

Race itor take your time

Write it in your browser, against the clock. The model script, with a note on each command it uses, comes after.

More Git problems