Show List

Quiz - Git - 4

68%

Public Average Score
Select the right answer for below questions:

What is the command to create a new branch in Git?
git new
git create
git branch
git generate
git branch

What is the command to merge changes from one branch into another branch in Git?
git merge
git combine
git join
git integrate
git merge

What is the command to discard changes in the working tree in Git?
git revert -- .
git reset -- .
git checkout -- .
git undo -- .
git checkout -- .

What is the command to stash changes in Git?
git hide
git store
git stash
git preserve
git stash

What is the command to unstash changes in Git?
git reveal
git retrieve
git restore
git unstash
git unstash

What is the command to fetch changes from a remote repository in Git?
git fetch
git retrieve
git download
git acquire
git fetch

What is the command to rebase a branch in Git?
git modify
git rebase
git revise
git adjust
git rebase

What is the command to list all branches in Git?
git list
git show
git branch
git display
git branch

What is the command to delete a branch in Git?
git branch -d
git delete
git remove
git drop
git branch -d

What is the command to rename a branch in Git?
git rename
git modify
git branch -m
git change
git branch -m

Submit
Retry
{"qz1-882759":"git branch","qz1-882760":"git merge","qz1-882761":"git checkout -- .","qz1-882762":"git stash","qz1-882763":"git unstash","qz1-882764":"git fetch","qz1-882765":"git rebase","qz1-882766":"git branch","qz1-882767":"git branch -d","qz1-882768":"git branch -m"}

    Leave a Comment


  • captcha text