ClassQuiz
Play
Explore
Search
Docs
GitHub
Register
Log in
Donate
❤️
ClassQuiz
Play
Git advanced tutorial
A short quiz to check that you listened carefully :)
Made by
@Clement
1
0
0
300
Practice
Download
Report
What does VCS mean ?
1: What does VCS mean ?
20s
Version Control Software
Version Control System
Video Computer System
Version Control Server
In opposition to Apache SVN, git…
2: In opposition to Apache SVN, git…
20s
...operates locally
...efficiently stores large binary files
...only stores locally the files the user is working on
...avoid having a single point of failure
Given the following worktree, what should Grégoire do to push his changes.
3: Given the following worktree, what should Grégoire do to push his changes.
40s
git push
git push --force-with-lease
git push --force
Given the following worktree, what should Arthur do to undo his last commit and update origin ?
4: Given the following worktree, what should Arthur do to undo his last commit and update origin ?
40s
git reset --soft; git push --force-with-lease
git reset --hard @~1; git push
git reset --hard @~1; git push --force-with-lease
git reset --hard; git push
Given the following work tree, what should Juan do to rebase his branch on top of master and update the origin ?
5: Given the following work tree, what should Juan do to rebase his branch on top of master and update the origin ?
40s
git switch master; git rebase juanBranch; git push --force-with-lease
git rebase master; git push --force-with-lease
git rebase master; git push
git merge master; git push --force-with-lease
How to navigate from HEAD to first yellow commit ?
6: How to navigate from HEAD to first yellow commit ?
60s
HEAD^2~4
HEAD^2~3^
@^2~^2~2
@^2^^2^^
What can be used to transform the original tree to the new one ?
7: What can be used to transform the original tree to the new one ?
20s
git squash
git cherry-pick
git stash
git rebase -i
Which of the following is empty after running `git reset --mixed @{1}` ?
8: Which of the following is empty after running `git reset --mixed @{1}` ?
20s
INDEX
Working Tree