Skip to content

Commit

Permalink
fix(commit.rb): explicitly define branch as master
Browse files Browse the repository at this point in the history
Irrespective of a defaultBranch definition in file .gitconfig,
the edit allows to pass a commit to be accepted.

Signed-off-by: Norwid Behrnd <[email protected]>
  • Loading branch information
nbehrnd committed Apr 8, 2024
1 parent 411171d commit 62edc36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions levels/commit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

setup do
repo.init
system "git branch -m master"
FileUtils.touch("README")
repo.add("README")
end
Expand Down

0 comments on commit 62edc36

Please sign in to comment.