Sha256: 5790c671c8a4fb3a7f43b9d84dffd8e6aa0efebd9a633d682565f9ccb851c29b
Contents?: true
Size: 511 Bytes
Versions: 1
Compression:
Stored size: 511 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" 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[1].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.3.3 | levels/rename_commit.rb |