# Git trivia question
---
If you run the following commands:
```shell=bash
mkdir dots
cd dots
git init
echo 'Hello, world!' > transcript.txt
git add transcript.txt
git commit -m"greet"
git checkout -b smiley
echo '😀' >> transcript.txt
git commit -am"add smiley"
git checkout main
echo '😀' >> transcript.txt
git commit -am"add smiley"
git diff main...smiley
```
What output do you get?
---
## A
Nothing, no changes, a blank diff
---
## B
```diff
Hello, world!
+😀
```
---
## C
```diff
Hello, world!
-😀
+😀
```
---
## D
None of the above
---
Want the answer?
Press <kbd>s</kbd> on your keyboard
Note:
The correct answer is B. For an explanation, read [Two and three dots with diff](https://matthew-brett.github.io/pydagogue/git_diff_dots.html)
{"metaMigratedAt":"2023-06-17T14:59:35.183Z","metaMigratedFrom":"YAML","title":"Git trivia question","breaks":true,"contributors":"[{\"id\":\"ccdeac2f-5626-462e-86f8-d4a46f0512d4\",\"add\":819,\"del\":23}]"}