Sha256: 04ec46a8467fd0c40e93bda3d7d9341abd11fb176952d4c49e878c63f5604a40

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 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
  system "git branch -m master"
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 an appropriate git command."
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
githug-0.5.1 levels/stash.rb