Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dont use git rebase unless you know what youre doing

  • Loading branch information...
commit 61e913bf9dbe649cc4132f3231acb9dd9898361c 1 parent 0587560
Dustin Rodrigues authored
Showing with 1 addition and 19 deletions.
  1. +0 −18 levels/tag.rb
  2. +1 −1  lib/githug/level.rb
18 levels/tag.rb
View
@@ -1,18 +0,0 @@
-difficulty 2
-
-description "We have a git repo and we want to tag the current commit with new_tag."
-
-setup do
- repo.init
- FileUtils.touch("somefile.txt")
- repo.add("somefile.txt")
- repo.commit_all("Added some file to the repo")
-end
-
-solution do
- repo.tags.first.name == "new_tag"
-end
-
-hint do
- puts "Take a look at `git tag`"
-end
2  lib/githug/level.rb
View
@@ -4,7 +4,7 @@ class Level
LEVELS = [nil, "init", "add", "commit", "config", "clone",
"clone_to_folder", "ignore", "status", "rm", "rm_cached", "rename",
- "log", "tag", "commit_ammend", "reset", "checkout_file", "remote",
+ "log", "commit_ammend", "reset", "checkout_file", "remote",
"remote_url", "remote_add", "diff", "blame", "branch", "checkout",
"merge", "squash", "contribute"]
Please sign in to comment.
Something went wrong with that request. Please try again.