Skip to content

Commit

Permalink
Add punctuation to level descriptions/hints.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanner committed Oct 25, 2013
1 parent 154db23 commit 0c149e7
Show file tree
Hide file tree
Showing 26 changed files with 45 additions and 45 deletions.
6 changes: 3 additions & 3 deletions levels/add.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
difficulty 1
description "There is a file in your folder called README, you should add it to your staging area
Note: You start each level with a new repo. Don't look for files from the previous one"
description "There is a file in your folder called README, you should add it to your staging area.
Note: You start each level with a new repo. Don't look for files from the previous one."

setup do
repo.init
Expand All @@ -14,5 +14,5 @@
end

hint do
puts "You can type `git` in your shell to get a list of available git commands"
puts "You can type `git` in your shell to get a list of available git commands."
end
4 changes: 2 additions & 2 deletions levels/blame.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
difficulty 2
description "Someone has put a password inside the file 'config.rb' find out who it was"
description "Someone has put a password inside the file 'config.rb' find out who it was."

setup do
init_from_level
Expand All @@ -11,5 +11,5 @@
end

hint do
puts "You want to research the `git blame` command"
puts "You want to research the `git blame` command."
end
4 changes: 2 additions & 2 deletions levels/branch.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
difficulty 1
description "You want to work on a piece of code that has the potential to break things, create the branch test_code"
description "You want to work on a piece of code that has the potential to break things, create the branch test_code."

setup do
repo.init
Expand All @@ -13,6 +13,6 @@
end

hint do
puts "git branch is what you want to investigate"
puts "git branch is what you want to investigate."
end

4 changes: 2 additions & 2 deletions levels/branch_at.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
difficulty 3
description "You forgot to branch at the previous commit and made a commit on top of it. Create branch 'test_branch' at the commit before the last"
description "You forgot to branch at the previous commit and made a commit on top of it. Create branch 'test_branch' at the commit before the last."

setup do
repo.init
Expand All @@ -21,5 +21,5 @@
end

hint do
puts "Just like creating a branch, but you have to pass an extra argument"
puts "Just like creating a branch, but you have to pass an extra argument."
end
4 changes: 2 additions & 2 deletions levels/checkout.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
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"
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
Expand All @@ -14,5 +14,5 @@
end

hint do
puts "Try looking up `git checkout` and `git branch`"
puts "Try looking up `git checkout` and `git branch`."
end
4 changes: 2 additions & 2 deletions levels/checkout_tag.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
difficulty 2

description "You need to fix a bug in the version 1.2 of your app. Checkout the tag v1.2"
description "You need to fix a bug in the version 1.2 of your app. Checkout the tag v1.2."

setup do
repo.init
Expand Down Expand Up @@ -35,5 +35,5 @@
end

hint do
puts "There's no big difference between checking out a branch and checking out a tag"
puts "There's no big difference between checking out a branch and checking out a tag."
end
4 changes: 2 additions & 2 deletions levels/checkout_tag_over_branch.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
difficulty 2

description "You need to fix a bug in the version 1.2 of your app. Checkout the tag v1.2 (Note: There is also a branch named v1.2)"
description "You need to fix a bug in the version 1.2 of your app. Checkout the tag v1.2 (Note: There is also a branch named v1.2)."

setup do
repo.init
Expand Down Expand Up @@ -42,5 +42,5 @@
end

hint do
puts "You should think about specifying you're after the tag named v1.2 (think tags/)"
puts "You should think about specifying you're after the tag named v1.2 (think tags/)."
end
4 changes: 2 additions & 2 deletions levels/cherry-pick.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
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"
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
Expand All @@ -13,5 +13,5 @@
end

hint do
puts "Sneak a peek at the `cherry-pick` command"
puts "Sneak a peek at the `cherry-pick` command."
end
4 changes: 2 additions & 2 deletions levels/clone.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
difficulty 1
description "Clone the repository at https://github.com/Gazler/cloneme"
description "Clone the repository at https://github.com/Gazler/cloneme."

solution do
repo("cloneme").commit("157b2b61f29ab9df45f31c7cd9cb5d8ff06ecde4")
end

hint do
puts "You should have a look at this site: https://github.com/Gazler/cloneme"
puts "You should have a look at this site: https://github.com/Gazler/cloneme."
end
2 changes: 1 addition & 1 deletion levels/clone_to_folder.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
difficulty 1
description "Clone the repository at https://github.com/Gazler/cloneme to 'my_cloned_repo'"
description "Clone the repository at https://github.com/Gazler/cloneme to 'my_cloned_repo'."

solution do
repo("my_cloned_repo").commit("157b2b61f29ab9df45f31c7cd9cb5d8ff06ecde4")
Expand Down
4 changes: 2 additions & 2 deletions levels/config.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
difficulty 1
description "Set up your git name and email, this is important so that your commits can be identified"
description "Set up your git name and email, this is important so that your commits can be identified."

setup do
repo.init
Expand All @@ -24,5 +24,5 @@
end

hint do
puts "These settings are config settings. You should run `git help config` if you are stuck"
puts "These settings are config settings. You should run `git help config` if you are stuck."
end
2 changes: 1 addition & 1 deletion levels/find_old_branch.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
difficulty 4
description "You have been working on a branch but got distracted by a major issue and forgot the name of it. Switch back to that branch"
description "You have been working on a branch but got distracted by a major issue and forgot the name of it. Switch back to that branch."

setup do
init_from_level
Expand Down
2 changes: 1 addition & 1 deletion levels/ignore.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
end

hint do
puts "You may have noticed there is a file named .gitignore in the repository"
puts "You may have noticed there is a file named .gitignore in the repository."
end
4 changes: 2 additions & 2 deletions levels/init.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
difficulty 1
description "A new directory, git_hug, has been created; initialize an empty repository in it"
description "A new directory, git_hug, has been created; initialize an empty repository in it."

solution do
repo.valid?
end

hint do
puts "You can type `git` in your shell to get a list of available git commands"
puts "You can type `git` in your shell to get a list of available git commands."
end
4 changes: 2 additions & 2 deletions levels/merge.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
difficulty 2
description "We have a file in the branch 'feature'; Let's merge it to the master branch"
description "We have a file in the branch 'feature'; Let's merge it to the master branch."

setup do
init_from_level
Expand All @@ -10,5 +10,5 @@
end

hint do
puts "You want to research the `git merge` command"
puts "You want to research the `git merge` command."
end
2 changes: 1 addition & 1 deletion levels/push.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@
end

hint do
puts "Take a look at 'git fetch', 'git pull', and 'git push'"
puts "Take a look at 'git fetch', 'git pull', and 'git push'."
end
2 changes: 1 addition & 1 deletion levels/remote.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
end

hint do
puts "You are looking for a remote. You can run `git` for a list of commands"
puts "You are looking for a remote. You can run `git` for a list of commands."
end
4 changes: 2 additions & 2 deletions levels/remote_add.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
difficulty 2

description "Add a remote repository called `origin` with the url `https://github.com/githug/githug`"
description "Add a remote repository called `origin` with the url `https://github.com/githug/githug`."

setup do
repo.init
Expand All @@ -12,5 +12,5 @@
end

hint do
puts "You can run `git remote --help` for the man pages"
puts "You can run `git remote --help` for the man pages."
end
4 changes: 2 additions & 2 deletions levels/remote_url.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
difficulty 2

description "The remote repositories have a url associated to them. Please enter the url of remote_location"
description "The remote repositories have a url associated to them. Please enter the url of remote_location."

setup do
repo.init
Expand All @@ -13,5 +13,5 @@
end

hint do
puts "You can run `git remote --help` for the man pages"
puts "You can run `git remote --help` for the man pages."
end
2 changes: 1 addition & 1 deletion levels/rename.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
end

hint do
puts "Take a look at `git mv`"
puts "Take a look at `git mv`."
end
2 changes: 1 addition & 1 deletion levels/reorder.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
difficulty 4
description "You have committed several times but in the wrong order. Please reorder your commits"
description "You have committed several times but in the wrong order. Please reorder your commits."

setup do
repo.init
Expand Down
4 changes: 2 additions & 2 deletions levels/repack.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
difficulty 2
description "Optimise how your repository is packaged ensuring that redundant packs are removed"
description "Optimise how your repository is packaged ensuring that redundant packs are removed."

setup do
repo.init
Expand All @@ -15,5 +15,5 @@
end

hint do
puts "You want to research the `git repack` command"
puts "You want to research the `git repack` command."
end
4 changes: 2 additions & 2 deletions levels/reset.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
difficulty 2
description "There are two files to be committed. The goal was to add each file as a separate commit, however both were added by accident. Unstage the file `to_commit_second` using the reset command (don't commit anything)"
description "There are two files to be committed. The goal was to add each file as a separate commit, however both were added by accident. Unstage the file `to_commit_second` using the reset command (don't commit anything)."

setup do
repo.init
Expand All @@ -18,5 +18,5 @@
end

hint do
puts "You can get some useful information for git status, it will tell you the command you need to run"
puts "You can get some useful information for git status, it will tell you the command you need to run."
end
4 changes: 2 additions & 2 deletions levels/squash.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
difficulty 4
description "You have committed several times but would like all those changes to be one commit"
description "You have committed several times but would like all those changes to be one commit."

setup do
repo.init
Expand All @@ -25,5 +25,5 @@
end

hint do
puts "Take a look the -i flag of the rebase command"
puts "Take a look the -i flag of the rebase command."
end
4 changes: 2 additions & 2 deletions levels/stash.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
difficulty 2
description "You've made some changes and want to work on them later. You should save them, but don't commit them"
description "You've made some changes and want to work on them later. You should save them, but don't commit them."

setup do
init_from_level
Expand All @@ -12,5 +12,5 @@
end

hint do
puts "It's like stashing. Try finding appropriate git command"
puts "It's like stashing. Try finding appropriate git command."
end
2 changes: 1 addition & 1 deletion levels/tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
end

hint do
puts "Take a look at `git tag`"
puts "Take a look at `git tag`."
end

0 comments on commit 0c149e7

Please sign in to comment.