From 309e9fbc5516796d34654e7aee9afef5c9ce0da3 Mon Sep 17 00:00:00 2001 From: Chalarangelo Date: Tue, 6 Apr 2021 22:21:04 +0300 Subject: [PATCH] Add view changes summary --- snippets/view-changes-summary.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 snippets/view-changes-summary.md diff --git a/snippets/view-changes-summary.md b/snippets/view-changes-summary.md new file mode 100644 index 000000000..a603ec6d5 --- /dev/null +++ b/snippets/view-changes-summary.md @@ -0,0 +1,19 @@ +--- +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 ..` to view a summary of changes between the two given commits + +```sh +git shortlog .. +``` + +```sh +git shortlog 3050fc0de..HEAD +# Duck Quacking (2): +# Fix network bug +# Update documentation +```