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 +```