diff --git a/levels/merge_squash.rb b/levels/merge_squash.rb index d0eb8b0..4eb93e6 100644 --- a/levels/merge_squash.rb +++ b/levels/merge_squash.rb @@ -7,6 +7,7 @@ FileUtils.touch "file1" repo.add "file1" repo.commit_all "First commit" + system "git branch -m master" repo.git.native :checkout, {"b" => true}, 'long-feature-branch' File.open("file3", 'w') { |f| f << "some feature\n" }