Skip to content

Commit

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

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

0 comments on commit 8b8da75

Please sign in to comment.