Sha256: 0a5370bd275ce9207f57aa293603d684e0a02dca761b190f012226b31218c477

Contents?: true

Size: 405 Bytes

Versions: 26

Compression:

Stored size: 405 Bytes

Contents

difficulty 1
description "There is a file in your folder called README, you should add it to your staging area"

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

solution do
  return false unless repo.status.files.keys.include?("README")
  return false if repo.status.files["README"].untracked
  true
end

hint do
  puts "You can type `git` in your shell to get a list of available git commands"
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
githug-0.1.0 levels/add.rb
githug-0.0.10 levels/add.rb
githug-0.0.9 levels/add.rb
gitscrub-0.0.8 levels/add.rb
gitscrub-0.0.7 levels/add.rb
gitscrub-0.0.6 levels/add.rb