From: W. Trevor King Date: Tue, 5 Feb 2013 20:09:41 +0000 (-0500) Subject: quizzes/git: Add preliminary Git quiz (repository creation) X-Git-Tag: v0.1~49 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ca3cbec535641dda22ccdb00bfb35186a1293765;p=quizzer.git quizzes/git: Add preliminary Git quiz (repository creation) --- diff --git a/quizzes/git.json b/quizzes/git.json new file mode 100644 index 0000000..3d56072 --- /dev/null +++ b/quizzes/git.json @@ -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" + } + ] +}