levels/commit_amend.rb in githug-0.5.0 vs levels/commit_amend.rb in githug-0.5.1

- old
+ new

@@ -1,13 +1,14 @@ difficulty 2 -description "The `README` file has been committed, but it looks like the file `forgotten_file.rb` was missing from the commit. Add the file and amend your previous commit to include it." +description "The `README` file has been committed, but it looks like the file `forgotten_file.rb` was missing from the commit. Add the file and amend your previous commit to include it." setup do repo.init FileUtils.touch("README") repo.add("README") repo.commit_all("Initial commit") FileUtils.touch("forgotten_file.rb") + system "git branch -m master" end solution do # Reset config - see issue #74 file = File.open(".git/config", "w") do |file|