From: W. Trevor King Date: Wed, 6 Feb 2013 21:54:36 +0000 (-0500) Subject: quizzes/git: Add 'git status' question X-Git-Tag: v0.1~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=863a97db1296153d36cde46432a3fc7e0e269bea;p=quizzer.git quizzes/git: Add 'git status' question --- diff --git a/quizzes/git.json b/quizzes/git.json index d8647c6..17f25e7 100644 --- a/quizzes/git.json +++ b/quizzes/git.json @@ -118,6 +118,26 @@ "commit" ] }, + { + "class": "ScriptQuestion", + "interpreter": "sh", + "id": "git status", + "prompt": [ + "You don't remember if you've staged README to be committed.", + "How would you check?" + ], + "answer": "git status", + "setup": [ + "git init", + "echo 'This project is wonderful' > README", + "git add README" + ], + "help": "http://www.kernel.org/pub/software/scm/git/docs/git-status.html", + "tags": [ + "add", + "query" + ] + }, { "class": "ScriptQuestion", "interpreter": "sh",