
Complete Git Guide: Understand and Master Git and GitHub - Updating the Tracking Status of the Branches
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you check out a remote branch in Git?
A new local branch is created that tracks the remote branch.
The remote branch is renamed.
The remote branch is deleted.
The local branch is merged with the remote branch.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to update local references after a remote branch is deleted?
git merge
git fetch
git push
git commit
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you ensure that a local branch does not track a deleted remote branch?
By using 'git stash'
By using 'git branch -m'
By using 'git remote update --prune'
By using 'git rebase'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'git remote update --prune' command?
To merge local changes into the remote branch
To create a new remote branch
To update local branches with changes from the remote
To remove references to deleted remote branches
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does GitHub Desktop allow you to do after a remote branch is deleted?
Automatically recreate the remote branch
Merge the local branch with another branch
Publish the local branch as a new remote branch
Delete the local branch
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'git branch -d' command do?
Deletes a local branch
Deletes a remote branch
Creates a new branch
Merges two branches
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of using 'git branch -D' on a branch?
The branch is renamed
The branch is forcefully deleted
The branch is pushed to the remote
The branch is merged with another branch
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?