Skip to content

Commit

Permalink
fix(rebase_onto.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 21, 2024
1 parent 59fc038 commit 347174c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions levels/rebase_onto.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
File.open(authors_file, "w") { |f| f << "https://github.com/janis-vitols\n" }
repo.add(authors_file)
repo.commit_all("Create authors file")
system "git branch -m master"

repo.git.native :checkout, { "b" => true }, "wrong_branch"
File.open(authors_file, "w") { |f| f << "None\n" }
Expand Down

0 comments on commit 347174c

Please sign in to comment.