Sha256: 68b975dcf81a301f4d4cf4a793afdb7d2c12140e8eac3302acbc5f8170edee06
Contents?: true
Size: 406 Bytes
Versions: 13
Compression:
Stored size: 406 Bytes
Contents
difficulty 2 description "Create and switch to a new branch called my_branch. You will need to create a branch like you did in the previous level." setup do repo.init FileUtils.touch("README") repo.add("README") repo.commit_all("initial commit") end solution do return false unless repo.head.name == "my_branch" true end hint do puts "Try looking up `git checkout` and `git branch`." end
Version data entries
13 entries across 13 versions & 2 rubygems