From 863a97db1296153d36cde46432a3fc7e0e269bea Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 6 Feb 2013 16:54:36 -0500 Subject: [PATCH] quizzes/git: Add 'git status' question --- quizzes/git.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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", -- 2.26.2