Skip to content

fix: questions for pull request and review #140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions lesson_03/quiz/src/quizzes/montez_quiz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ export class MontezBradleyQuiz implements QuizQuestionProvider {
private static makeQuestion1(): QuizQuestion {
return new MultipleChoiceQuizQuestion(
1,
'What command is used to save all changes and create a commit in Git?',
'How would you commit your code',
new Map<AnswerChoice, string>([
[AnswerChoice.A, 'git status'],
[AnswerChoice.A, 'git commit -m "" '],
[AnswerChoice.B, 'git info'],
[AnswerChoice.C, 'git check-status'],
[AnswerChoice.C, 'git commit'],
[AnswerChoice.D, 'git add git commit -m "Your commit message'],
]),
AnswerChoice.UNANSWERED,
Expand All @@ -49,15 +49,17 @@ export class MontezBradleyQuiz implements QuizQuestionProvider {
private static makeQuestion2(): QuizQuestion {
return new MultipleChoiceQuizQuestion(
2,
'What Git command is used to check the current status of a repository',
'How would you push your vs code main to replace your main branch in github ',
new Map<AnswerChoice, string>([
[AnswerChoice.A, 'git status'],
[AnswerChoice.B, 'git verify'],
[AnswerChoice.C, 'git info'],
[AnswerChoice.D, 'git check-status'],
[
AnswerChoice.A,
'pull your commits to vs code, git reset --hard upstream/main, then git push --force',
],
[AnswerChoice.B, 'git reset, then git push --force'],
[AnswerChoice.C, 'git info, then git pull, final step is git push'],
[AnswerChoice.D, 'git push after that git reset then git pull'],
]),
AnswerChoice.UNANSWERED,
);
);
}

}