Sha256: dc002795a9d7457f90861c6a2c9fcfc14cf5f42a98e6dca34644103956344ad2

Contents?: true

Size: 500 Bytes

Versions: 11

Compression:

Stored size: 500 Bytes

Contents

difficulty 3
description "Correct the typo in the message of your first commit."

setup do
  repo.init
  FileUtils.touch "README"
  repo.add        "README"
  repo.commit_all "Initial commit"

  FileUtils.touch "file1"
  repo.add        "file1"
  repo.commit_all "First coommit"

  FileUtils.touch "file2"
  repo.add        "file2"
  repo.commit_all "Second commit"
end

solution do
  repo.commits[1].message == "First commit"
end

hint do
  puts "Take a look the -i flag of the rebase command."
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
githug-0.3.2 levels/rename_commit.rb
githug-0.3.1 levels/rename_commit.rb
githug-0.3.0 levels/rename_commit.rb
githug-0.2.12 levels/rename_commit.rb
githug-0.2.11 levels/rename_commit.rb
githug-0.2.10 levels/rename_commit.rb
githug-0.2.9 levels/rename_commit.rb
githug-0.2.8 levels/rename_commit.rb
githug-0.2.7 levels/rename_commit.rb
githug-0.2.6 levels/rename_commit.rb
githug-0.2.5 levels/rename_commit.rb