Files
30-seconds-of-code/snippets/view-changes-summary.md
2021-04-06 22:21:27 +03:00

21 lines
480 B
Markdown

---
title: View a summary of changes between two commits
tags: repository,branch,intermediate
---
Prints a summary of changes between two given commits.
- Use `git shortlog <commit>..<other-commit>` to view a summary of changes between the two given commits.
- Use arrow keys to navigate, press <kbd>Q</kbd> to exit.
```sh
git shortlog <commit>..<other-commit>
```
```sh
git shortlog 3050fc0de..HEAD
# Duck Quacking (2):
# Fix network bug
# Update documentation
```