Sha256: 47af3a643c769f54ffb0956a5831c64fe10f19cd476cb3ff9a00dfdafaee6627

Contents?: true

Size: 387 Bytes

Versions: 5

Compression:

Stored size: 387 Bytes

Contents

difficulty 2
description "You've made some changes and want to work on them later. You should save them, but don't commit them"

setup do
  init_from_level
end

solution do
  return false if `git stash list` !~ /stash@\{0\}/
  return false if repo.status.changed.to_a.flatten.include? "lyrics.txt"
  true
end

hint do
  puts "It's like stashing. Try finding appropriate git command"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
githug-0.3.3 levels/stash.rb
githug-0.3.2 levels/stash.rb
githug-0.3.1 levels/stash.rb
githug-0.3.0 levels/stash.rb
githug-0.2.12 levels/stash.rb