From 8b8da755862a87b849371943aaac81acc9edc6d4 Mon Sep 17 00:00:00 2001 From: Norwid Behrnd Date: Wed, 17 Apr 2024 21:50:46 +0200 Subject: [PATCH] fix(rm_cached.rb): explicitly defbe branch as master Explicitly define the principal branch as master. Light edit of the description about the task ahead. Signed-off-by: Norwid Behrnd --- levels/rm_cached.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/levels/rm_cached.rb b/levels/rm_cached.rb index 3487523a..e9686770 100644 --- a/levels/rm_cached.rb +++ b/levels/rm_cached.rb @@ -1,10 +1,11 @@ difficulty 2 -description "A file has accidentally been added to your staging area, find out which file and remove it from the staging area. *NOTE* Do not remove the file from the file system, only from git." +description "A file has accidentally been added to your staging area. Identify and remove it from the staging area. *NOTE* Do not remove the file from the file system, only from git." setup do repo.init FileUtils.touch("deleteme.rb") + system "git branch -m master" repo.add(".gitignore") repo.add("deleteme.rb") end