Skip to content

Commit

Permalink
fix(push.rb): explicitly run branch master
Browse files Browse the repository at this point in the history
Signed-off-by: Norwid Behrnd <[email protected]>
  • Loading branch information
nbehrnd committed Apr 18, 2024
1 parent 8fe0c5e commit 593e972
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions levels/push.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
FileUtils.touch "file3"
repo.add "file3"
repo.commit_all "Third commit"
system "git branch -m master"

# remote repo
Dir.chdir tmpdir
Expand All @@ -39,6 +40,7 @@
FileUtils.touch "file4"
repo.add "file4"
repo.commit_all "Fourth commit"
system "git branch -m master" # tentative addition

# change back to original repo to set up a remote
Dir.chdir cwd
Expand Down

0 comments on commit 593e972

Please sign in to comment.