quizzes/git: Add preliminary Git quiz (repository creation)
authorW. Trevor King <wking@tremily.us>
Tue, 5 Feb 2013 20:09:41 +0000 (15:09 -0500)
committerW. Trevor King <wking@tremily.us>
Tue, 5 Feb 2013 20:09:41 +0000 (15:09 -0500)
quizzes/git.json [new file with mode: 0644]

diff --git a/quizzes/git.json b/quizzes/git.json
new file mode 100644 (file)
index 0000000..3d56072
--- /dev/null
@@ -0,0 +1,33 @@
+{
+       "version": "0.1",
+       "questions": [
+               {
+                       "class": "ScriptQuestion",
+                       "interpreter": "sh",
+                       "id": "git init",
+                       "prompt": "initialize a Git repository in a new `my-project` directory",
+                       "multiline": true,
+                       "answer": [
+                                       "mkdir my-project",
+                                       "cd my-project",
+                                       "git init"
+                                       ],
+                       "teardown": [
+                               "git status"
+                               ],
+                       "help": "http://www.kernel.org/pub/software/scm/git/docs/git-init.html"
+               },
+               {
+                       "class": "ScriptQuestion",
+                       "interpreter": "sh",
+                       "id": "git clone",
+                       "prompt": "clone git://github.com/wking/quizzer.git into a new `quizzer` directory",
+                       "answer": "git clone git://github.com/wking/quizzer.git",
+                       "teardown": [
+                               "cd quizzer",
+                               "git status"
+                               ],
+                       "help": "http://www.kernel.org/pub/software/scm/git/docs/git-clone.html"
+               }
+       ]
+}