Sha256: 261c3d21364719259c258441ba95614f6c00da8642f48f9a6ac16f58775f629b

Contents?: true

Size: 300 Bytes

Versions: 13

Compression:

Stored size: 300 Bytes

Contents

difficulty 1
description "The `README` file has been added to your staging area, now commit it."

setup do
  repo.init
  FileUtils.touch("README")
  repo.add("README")
end

solution do
  return false if repo.commits.empty?
  true
end

hint do
  puts "You must include a message when you commit."
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
mygithug-0.5.1 levels/commit.rb
githug-0.5.0 levels/commit.rb
githug-0.4.8 levels/commit.rb
githug-0.4.7 levels/commit.rb
githug-0.4.6 levels/commit.rb
githug-0.4.5 levels/commit.rb
githug-0.4.4 levels/commit.rb
githug-0.4.3 levels/commit.rb
githug-0.4.2 levels/commit.rb
githug-0.4.1 levels/commit.rb
githug-0.4.0 levels/commit.rb
githug-0.3.5 levels/commit.rb
githug-0.3.4 levels/commit.rb