Sha256: 8da383f0157719cf7e6b42ec0212e26875ebf3744c411c0dc9e372a694827e65

Contents?: true

Size: 441 Bytes

Versions: 7

Compression:

Stored size: 441 Bytes

Contents

difficulty 2

description "We are using a git rebase workflow and the feature branch is ready to go into master. Let's rebase the feature branch onto our master branch."

setup do
  init_from_level
end

solution do
  return repo.commits('feature').last.id_abbrev != "ed0fdcf" &&
    repo.commits("feature").map(&:message) == ['add feature','add content','init commit']
end

hint do
  puts "You want to research the `git rebase` command"
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
mygithug-0.5.1 levels/rebase.rb
githug-0.5.0 levels/rebase.rb
githug-0.4.8 levels/rebase.rb
githug-0.4.7 levels/rebase.rb
githug-0.4.6 levels/rebase.rb
githug-0.4.5 levels/rebase.rb
githug-0.4.4 levels/rebase.rb