Sha256: 558bfcae58d24b24228eb815deeac7c7c97fe143f3d0cfa7a6516bdd89581d05
Contents?: true
Size: 638 Bytes
Versions: 11
Compression:
Stored size: 638 Bytes
Contents
difficulty 2 description "A file has been removed from the working tree, however the file was not removed from the repository. Find out what this file was and remove it." setup do repo.init file = File.new("deleteme.rb", "w") file.close 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
11 entries across 11 versions & 1 rubygems