FunctionRacerProblemsRace

Three Into One

HardGita shell script

The last three commits are small steps of one piece of work. Replace them with a single commit that makes the same changes, with the message add the report. The commits before them stay.

Example 1

starts as
* 3d57a8f (HEAD -> main) add a chart
* 60e3b5d more report
* 84a3b36 start the report
* b527f18 first commit
nothing to commit
ends as
commits, newest first:
  add the report
  first commit
files changed by the latest commit:
  chart.txt
  report.md
staged: nothing
changed, not staged: nothing
untracked: nothing
a.txt:
  1
chart.txt:
  c
report.md:
  r
  s

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