diff --git a/levels/add.rb b/levels/add.rb index d33a9136..cdc2f713 100644 --- a/levels/add.rb +++ b/levels/add.rb @@ -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 @@ -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 diff --git a/levels/blame.rb b/levels/blame.rb index 4d3ae954..7f2151dd 100644 --- a/levels/blame.rb +++ b/levels/blame.rb @@ -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 @@ -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 diff --git a/levels/branch.rb b/levels/branch.rb index c26031b5..10b37047 100644 --- a/levels/branch.rb +++ b/levels/branch.rb @@ -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 @@ -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 diff --git a/levels/branch_at.rb b/levels/branch_at.rb index a119996f..b2e53dbc 100644 --- a/levels/branch_at.rb +++ b/levels/branch_at.rb @@ -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 @@ -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 diff --git a/levels/checkout.rb b/levels/checkout.rb index cd7af3cf..91da77da 100644 --- a/levels/checkout.rb +++ b/levels/checkout.rb @@ -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 @@ -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 diff --git a/levels/checkout_tag.rb b/levels/checkout_tag.rb index 08f39b2c..d202742f 100644 --- a/levels/checkout_tag.rb +++ b/levels/checkout_tag.rb @@ -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 @@ -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 diff --git a/levels/checkout_tag_over_branch.rb b/levels/checkout_tag_over_branch.rb index 50133331..75dab9b0 100644 --- a/levels/checkout_tag_over_branch.rb +++ b/levels/checkout_tag_over_branch.rb @@ -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 @@ -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 diff --git a/levels/cherry-pick.rb b/levels/cherry-pick.rb index 005880e5..9b78f783 100644 --- a/levels/cherry-pick.rb +++ b/levels/cherry-pick.rb @@ -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 @@ -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 diff --git a/levels/clone.rb b/levels/clone.rb index 574332c1..f29c8fad 100644 --- a/levels/clone.rb +++ b/levels/clone.rb @@ -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 diff --git a/levels/clone_to_folder.rb b/levels/clone_to_folder.rb index 8d92fe95..c68ab5ce 100644 --- a/levels/clone_to_folder.rb +++ b/levels/clone_to_folder.rb @@ -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") diff --git a/levels/config.rb b/levels/config.rb index 39080035..2985f539 100644 --- a/levels/config.rb +++ b/levels/config.rb @@ -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 @@ -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 diff --git a/levels/find_old_branch.rb b/levels/find_old_branch.rb index e3d3c0b2..b107df5c 100644 --- a/levels/find_old_branch.rb +++ b/levels/find_old_branch.rb @@ -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 diff --git a/levels/ignore.rb b/levels/ignore.rb index 4c993002..4e52c7d8 100644 --- a/levels/ignore.rb +++ b/levels/ignore.rb @@ -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 diff --git a/levels/init.rb b/levels/init.rb index 6fd07b7b..51fb6edf 100644 --- a/levels/init.rb +++ b/levels/init.rb @@ -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 diff --git a/levels/merge.rb b/levels/merge.rb index 1260198a..73cdba38 100644 --- a/levels/merge.rb +++ b/levels/merge.rb @@ -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 @@ -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 diff --git a/levels/push.rb b/levels/push.rb index 390edd2b..86ed1930 100644 --- a/levels/push.rb +++ b/levels/push.rb @@ -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 diff --git a/levels/remote.rb b/levels/remote.rb index d70b1c78..e8b733ce 100644 --- a/levels/remote.rb +++ b/levels/remote.rb @@ -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 diff --git a/levels/remote_add.rb b/levels/remote_add.rb index 4d95cb07..5e363437 100644 --- a/levels/remote_add.rb +++ b/levels/remote_add.rb @@ -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 @@ -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 diff --git a/levels/remote_url.rb b/levels/remote_url.rb index b2bd6f52..7321def6 100644 --- a/levels/remote_url.rb +++ b/levels/remote_url.rb @@ -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 @@ -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 diff --git a/levels/rename.rb b/levels/rename.rb index 3f274a83..c3f480e7 100644 --- a/levels/rename.rb +++ b/levels/rename.rb @@ -14,5 +14,5 @@ end hint do - puts "Take a look at `git mv`" + puts "Take a look at `git mv`." end diff --git a/levels/reorder.rb b/levels/reorder.rb index f0664b71..2222b743 100644 --- a/levels/reorder.rb +++ b/levels/reorder.rb @@ -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 diff --git a/levels/repack.rb b/levels/repack.rb index ac40a26e..c367474a 100644 --- a/levels/repack.rb +++ b/levels/repack.rb @@ -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 @@ -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 diff --git a/levels/reset.rb b/levels/reset.rb index a3804086..dfe6c0c4 100644 --- a/levels/reset.rb +++ b/levels/reset.rb @@ -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 @@ -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 diff --git a/levels/squash.rb b/levels/squash.rb index 1d717e6f..b99fa695 100644 --- a/levels/squash.rb +++ b/levels/squash.rb @@ -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 @@ -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 diff --git a/levels/stash.rb b/levels/stash.rb index 0a55ada0..3e9817e4 100644 --- a/levels/stash.rb +++ b/levels/stash.rb @@ -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 @@ -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 diff --git a/levels/tag.rb b/levels/tag.rb index 2e0040f4..25a0891f 100644 --- a/levels/tag.rb +++ b/levels/tag.rb @@ -14,5 +14,5 @@ end hint do - puts "Take a look at `git tag`" + puts "Take a look at `git tag`." end