Skip to content

Commit

Permalink
fix(log.rb): explicitly use master branch
Browse files Browse the repository at this point in the history
Explicitly define the principal branch as master.  Light edit
of the description of the task ahead.

Signed-off-by: Norwid Behrnd <[email protected]>
  • Loading branch information
nbehrnd committed Apr 17, 2024
1 parent 7d4cdaf commit 1852203
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion levels/log.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1852203

Please sign in to comment.