Sha256: dcd58d0757881a0843b3c6cb2f62b0894c07f11f886ded2732eb3a4c34cf9f5b
Contents?: true
Size: 614 Bytes
Versions: 10
Compression:
Stored size: 614 Bytes
Contents
difficulty 2 description "A file has been removed from this repository, however the file was not removed from git. Find out what this file was and remove it." setup do repo.init file = File.new("deleteme.rb", "w") repo.add("deleteme.rb") repo.commit_all("Added a temp file") File.delete("deleteme.rb") end solution do repo.status.files["deleteme.rb"].nil? || repo.status.files["deleteme.rb"].stage.nil? end hint do puts "You may need to use more than one command to complete this. You have checked your staging area in a previous level. Don't forget to run `git` for a list of commands." end
Version data entries
10 entries across 10 versions & 1 rubygems