Sha256: 482c93855339c8728528a4ac0e9abb4261a4ae74543531ae7739394cc54689c8
Contents?: true
Size: 559 Bytes
Versions: 1
Compression:
Stored size: 559 Bytes
Contents
difficulty 3 description "Correct the typo in the message of your first (non-root) commit." setup do repo.init FileUtils.touch "README" repo.add "README" repo.commit_all "Initial commit" system "git branch -m master" FileUtils.touch "file1" repo.add "file1" repo.commit_all "First coommit" FileUtils.touch "file2" repo.add "file2" repo.commit_all "Second commit" end solution do repo.commits.first.parents[0].message == "First commit" end hint do puts "Take a look the `-i` flag of the rebase command." end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
githug-0.5.1 | levels/rename_commit.rb |