Sha256: 37ea8ced2c84855c3456278603362c69d62a3f16cbc1912f758612cbcdd7665a

Contents?: true

Size: 560 Bytes

Versions: 12

Compression:

Stored size: 560 Bytes

Contents

difficulty 3
description "Your new feature isn't worth the time and you're going to delete it. But it has one commit that fills in `README` file, and you want this commit to be on the master as well."

setup do
    init_from_level
    `git stash` #fix for README.md being in githug root an the level
end

solution do
  return false unless repo.commits[1].message == "Added fancy branded output"
  return false unless repo.commits[0].message == "Filled in README.md with proper input"
  true
end

hint do
  puts "Sneak a peek at the `cherry-pick` command."
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
githug-0.5.0 levels/cherry-pick.rb
githug-0.4.8 levels/cherry-pick.rb
githug-0.4.7 levels/cherry-pick.rb
githug-0.4.6 levels/cherry-pick.rb
githug-0.4.5 levels/cherry-pick.rb
githug-0.4.4 levels/cherry-pick.rb
githug-0.4.3 levels/cherry-pick.rb
githug-0.4.2 levels/cherry-pick.rb
githug-0.4.1 levels/cherry-pick.rb
githug-0.4.0 levels/cherry-pick.rb
githug-0.3.5 levels/cherry-pick.rb
githug-0.3.4 levels/cherry-pick.rb