From 1852203c26a44bc090149fc1dcebb650dc3631b0 Mon Sep 17 00:00:00 2001 From: Norwid Behrnd Date: Wed, 17 Apr 2024 21:59:30 +0200 Subject: [PATCH] fix(log.rb): explicitly use master branch Explicitly define the principal branch as master. Light edit of the description of the task ahead. Signed-off-by: Norwid Behrnd --- levels/log.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/levels/log.rb b/levels/log.rb index d2615d6a..fbd8b799 100644 --- a/levels/log.rb +++ b/levels/log.rb @@ -1,12 +1,13 @@ difficulty 2 -description "Find out what the hash of the latest commit is." +description "Identify the hash of the latest commit." setup do repo.init file = File.new("newfile.rb", "w") repo.add("newfile.rb") repo.commit_all("THIS IS THE COMMIT YOU ARE LOOKING FOR!") + system "git branch -m master" end solution do