Sha256: 4bfd0e976807e17a837f2ab2c54a8a0e2161d086c28aef4dcd8e90e0fb801fce

Contents?: true

Size: 487 Bytes

Versions: 4

Compression:

Stored size: 487 Bytes

Contents

# -*- encoding : utf-8 -*-
difficulty 2
description "你已经做了一些修改,现在请暂存它们,创建分支`featurehumans-txt`,并切换到该分支。"

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"
  return false unless repo.head.name == "featurehumans-txt"
  true
end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mygithug-0.5.6 levels/stash.rb
mygithug-0.5.5 levels/stash.rb
mygithug-0.5.4 levels/stash.rb
mygithug-0.5.3 levels/stash.rb