Challenge 1
Complete the Git command to inspect commit history.
git A...B
Press Ctrl⌘Enter to check your answer
Create a disposable repository with a base commit, two commits on a topic branch, two commits on `main`, and a non-fast-forward merge. Record the merge's first and second parent IDs. Use `MERGE^`, `MERGE^2`, `MERGE~2`, `MERGE^@`, `MERGE^!`, and `MERGE^-2` and explain each result. Then create two divergent branch tips and prove `A..B`, `^A B`, and `A...B` produce the documented commit sets. Finally, build a commit containing a deliberately chosen message and file, resolve it with `:/message` and `R:path`, and compare `git log A...B` with `git diff A...B` so the history-selection and endpoint-comparison semantics are explicit.
Challenge 1
git A...B
Press Ctrl⌘Enter to check your answer
Challenge 2
git A...B
Press Ctrl⌘Enter to check your answer
Challenge 3
git MERGE^
Press Ctrl⌘Enter to check your answer
Challenge 4
git MERGE^2
Press Ctrl⌘Enter to check your answer