Show List

Quiz - Git - 2

52%

Public Average Score
Select the right answer for below questions:

What is the command to undo a commit in Git?
git undo
git revert
git reset
git cancel
git revert

What is the command to stash changes in Git?
git stash
git cache
git hold
git store
git stash

What is the command to view the differences between two commits in Git?
git compare
git contrast
git diff
git examine
git diff

What is the command to push changes to a remote repository in Git?
git upload
git transfer
git send
git push
git push

What is the command to update a local repository with changes from a remote repository in Git?
git sync
git refresh
git pull
git update
git pull

What is the command to add a file to the staging area in Git?
git stage
git prepare
git add
git include
git add

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

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

What is the command to see the status of changes in Git?
git status
git condition
git update
git report
git status

What is the command to compare the differences between two branches in Git?
git diff
git compare
git contrast
git examine
git diff

Submit
Retry
{"qz1-541914":"git revert","qz1-541915":"git stash","qz1-541916":"git diff","qz1-541917":"git push","qz1-541918":"git pull","qz1-541919":"git add","qz1-541920":"git branch","qz1-541921":"git branch -d","qz1-541922":"git status","qz1-541923":"git diff"}

    Leave a Comment


  • captcha text