From 86e4af0cdf10a2b76e5951d22ba896871cbff5c9 Mon Sep 17 00:00:00 2001 From: Sebastian Morr Date: Mon, 12 Oct 2020 18:12:12 +0200 Subject: [PATCH] Use "checkout" instead of "restore" in a level Restore is so new that not all Git versions might have it. --- levels/intro/restore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/levels/intro/restore b/levels/intro/restore index df464b3..bde0d89 100644 --- a/levels/intro/restore +++ b/levels/intro/restore @@ -4,11 +4,11 @@ You've been working on your essay for a while. But - ughh! Now your cat walks ov To restore your essay from the last backup, type: - git restore essay.txt + git checkout essay.txt To restore an older version, for example, from two backups before the latest one, type: - git restore -s HEAD~2 essay.txt + git checkout HEAD~2 essay.txt For nostalgic reasons, restore the very first backup you made!