@@ -35,11 +35,11 @@ export class MontezBradleyQuiz implements QuizQuestionProvider {
3535 private static makeQuestion1 ( ) : QuizQuestion {
3636 return new MultipleChoiceQuizQuestion (
3737 1 ,
38- 'What command is used to save all changes and create a commit in Git? ' ,
38+ 'How would you commit your code ' ,
3939 new Map < AnswerChoice , string > ( [
40- [ AnswerChoice . A , 'git status ' ] ,
40+ [ AnswerChoice . A , 'git commit -m "" ' ] ,
4141 [ AnswerChoice . B , 'git info' ] ,
42- [ AnswerChoice . C , 'git check-status ' ] ,
42+ [ AnswerChoice . C , 'git commit ' ] ,
4343 [ AnswerChoice . D , 'git add git commit -m "Your commit message' ] ,
4444 ] ) ,
4545 AnswerChoice . UNANSWERED ,
@@ -49,15 +49,17 @@ export class MontezBradleyQuiz implements QuizQuestionProvider {
4949 private static makeQuestion2 ( ) : QuizQuestion {
5050 return new MultipleChoiceQuizQuestion (
5151 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 ' ,
5353 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' ] ,
5861 ] ) ,
5962 AnswerChoice . UNANSWERED ,
60- ) ;
63+ ) ;
6164 }
62-
6365}
0 commit comments