Sha256: 91357596db5c7e2a9147747cf0ff6dcfa3fb8d661f686e3d94ec0013d587ce2a

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

Stored size: 442 Bytes

Contents

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

1 entries across 1 versions & 1 rubygems

Version Path
mygithug-0.5.1 levels/stash.rb