Sha256: 3397481164662e8f7a3fe8b95ab7e891153f99a1f375f32072a8a83f7cb7d34f

Contents?: true

Size: 513 Bytes

Versions: 1

Compression:

Stored size: 513 Bytes

Contents

difficulty 1
description "There is a file in your folder called `README`; add it to your staging area.
Note: Each level starts with a new repo. Don't look for files of the previous one."

setup do
  repo.init
  FileUtils.touch("README")
  system "git branch -m master"
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

1 entries across 1 versions & 1 rubygems

Version Path
githug-0.5.1 levels/add.rb