@@ -35,11 +35,11 @@ export class MontezBradleyQuiz implements QuizQuestionProvider {
35
35
private static makeQuestion1 ( ) : QuizQuestion {
36
36
return new MultipleChoiceQuizQuestion (
37
37
1 ,
38
- 'What command is used to save all changes and create a commit in Git? ' ,
38
+ 'How would you commit your code ' ,
39
39
new Map < AnswerChoice , string > ( [
40
- [ AnswerChoice . A , 'git status ' ] ,
40
+ [ AnswerChoice . A , 'git commit -m "" ' ] ,
41
41
[ AnswerChoice . B , 'git info' ] ,
42
- [ AnswerChoice . C , 'git check-status ' ] ,
42
+ [ AnswerChoice . C , 'git commit ' ] ,
43
43
[ AnswerChoice . D , 'git add git commit -m "Your commit message' ] ,
44
44
] ) ,
45
45
AnswerChoice . UNANSWERED ,
@@ -49,15 +49,17 @@ export class MontezBradleyQuiz implements QuizQuestionProvider {
49
49
private static makeQuestion2 ( ) : QuizQuestion {
50
50
return new MultipleChoiceQuizQuestion (
51
51
2 ,
52
- 'What Git command is used to check the current status of a repository ' ,
52
+ 'How would you push your vs code main to replace your main branch in github ' ,
53
53
new Map < AnswerChoice , string > ( [
54
- [ AnswerChoice . A , 'git status' ] ,
55
- [ AnswerChoice . B , 'git verify' ] ,
56
- [ AnswerChoice . C , 'git info' ] ,
57
- [ AnswerChoice . D , 'git check-status' ] ,
54
+ [
55
+ AnswerChoice . A ,
56
+ 'pull your commits to vs code, git reset --hard upstream/main, then git push --force' ,
57
+ ] ,
58
+ [ AnswerChoice . B , 'git reset, then git push --force' ] ,
59
+ [ AnswerChoice . C , 'git info, then git pull, final step is git push' ] ,
60
+ [ AnswerChoice . D , 'git push after that git reset then git pull' ] ,
58
61
] ) ,
59
62
AnswerChoice . UNANSWERED ,
60
- ) ;
63
+ ) ;
61
64
}
62
-
63
65
}
0 commit comments