Sail E0 Webinar

MCQs

Total Questions : 35 | Page 3 of 4 pages
Question 21. What will the following command print to the Terminal?git remote -v
  1.    A list of remote repositories you are connected to
  2.    The current git version you're running
  3.    An inline editor for modifying remote repositories
  4.    The last 5 git versions you've installed
 Discuss Question
Answer: Option A. -> A list of remote repositories you are connected to
Question 22. What command lets you create a connection between a local and remote repository?
  1.    git remote add origin
  2.    git remote add new
  3.    git remote new origin
  4.    git remote origin
 Discuss Question
Answer: Option A. -> git remote add origin
Question 23. What is the area where uncommitted changes are temporarily held after adding?
  1.    Staging Area
  2.    Unstaging Area
 Discuss Question
Answer: Option A. -> Staging Area
Question 24. How do you supply a commit message to a commit?
  1.    Git message "My first commit"
  2.    Git add "My first commit"
  3.    Git commit "My first commit"
  4.    Git commit -m "I'm coding!"
 Discuss Question
Answer: Option D. -> Git commit -m "I'm coding!"
Question 25. Arranging customers names in ascending order is an example of,
  1.    process
  2.    information processing
  3.    Information
  4.    data
 Discuss Question
Answer: Option B. -> information processing
Question 26. Which two configuration properties does the tool expect to be configured after installing Git and prior to issuing the first commit?
  1.    email address and password
  2.    username and password
  3.    username and IP address
  4.    username and email address
 Discuss Question
Answer: Option D. -> username and email address
Question 27. What's a shortcut to staging all the changes you have?
  1.    Git commit add .
  2.    Git commit .
  3.    Git add .
  4.    Git stage -a
 Discuss Question
Answer: Option C. -> Git add .
Question 28. Git commit command use to
  1.    push changes from local repo to central repo
  2.    stage changes
  3.    push changes from staging area to local repo
  4.    all of them
 Discuss Question
Answer: Option C. -> push changes from staging area to local repo
Question 29. You can type git status at any point while in a git controlled directory to check the status of your files?
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
Question 30. Which of the following commands will allow you to change branches?
  1.    git checkout
  2.    git clone
  3.    git add
  4.    git commit
 Discuss Question
Answer: Option A. -> git checkout

Latest Videos

Latest Test Papers