Sha256: 9c15b4e4b2f97e2d9d35d0a3d2d5fed7bbaf41813f3ed54ee6a777e7f8f85eb9
Contents?: true
Size: 406 Bytes
Versions: 14
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
14 entries across 14 versions & 1 rubygems