levels/merge_squash.rb in githug-0.5.0 vs levels/merge_squash.rb in githug-0.5.1
- old
+ new
@@ -5,9 +5,10 @@
repo.init
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" }
repo.add "file3"
repo.commit_all "Developing new features"