Sail E0 Webinar

MCQs

Total Questions : 35 | Page 4 of 4 pages
Question 31. Which of the following commands is used in switching between branches?
  1.    Git branch
  2.    Git checkout
  3.    Git switch
  4.    Git merge
 Discuss Question
Answer: Option B. -> Git checkout
Question 32. Which command is useful for getting a high-level overview of the project history?
  1.    git log --oneline
  2.    git reset --hard
  3.    git log --author=""
  4.    git rebase
 Discuss Question
Answer: Option A. -> git log --oneline
Question 33. Command to check the created, modified, deleted files in gitbash before Commit?
  1.    git show
  2.    git log
  3.    git status
  4.    all of the above
 Discuss Question
Answer: Option C. -> git status
Question 34. Which of the following is not a Git configuration scope?
  1.    Local
  2.    User
  3.    System
  4.    Global
 Discuss Question
Answer: Option B. -> User
Question 35. Which command should you use to initialize a new git repository?
  1.    Git bash
  2.    Git install
  3.    Git init
  4.    Git start
 Discuss Question
Answer: Option C. -> Git init

Latest Videos

Latest Test Papers