Sha256: 9cfa34bd81dd77dc06df66b62af0dfe0b49e80516b434cd85bf552cd60a020d8

Contents?: true

Size: 419 Bytes

Versions: 1

Compression:

Stored size: 419 Bytes

Contents

difficulty 3
description "Correct the typos in the message of your last commit."

setup do
  repo.init

  FileUtils.touch "README"
  repo.add        "README"
  repo.commit_all "Adding README"

  FileUtils.touch "file1"
  repo.add        "file1"
  repo.commit_all "A fresh commmit"
end

solution do
  repo.commits.first.message == "A fresh 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.1.7 levels/rename_commit.rb