From ca3cbec535641dda22ccdb00bfb35186a1293765 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 5 Feb 2013 15:09:41 -0500 Subject: [PATCH] quizzes/git: Add preliminary Git quiz (repository creation) --- quizzes/git.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 quizzes/git.json 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" + } + ] +} -- 2.26.2