Loading…
Loading…
Twenty-five questions on Git's subtle corners: what commit -a and stash leave out, empty folders, ignore patterns and negation, HEAD~ versus HEAD^, ours and theirs in a rebase, tags that don't move or don't push, describe, merge reverts, diff exit codes, stash conflicts and more.
Git is full of small rules that rarely matter, until one of them surprises you at the worst moment. This quiz collects the most surprising ones. Most were explained somewhere in the Git course, but seeing them together, out of context, is a good test.
Almost every question has a script, run in the course's Git 2.56 sandbox to confirm the answer. Aim for at least 18 out of 25.
Quiz path: step 15. Take the quizzes in this order, after reading each article.
Previous quiz: Git Interview Questions
25 questions · pass at 70%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.