Files
30-seconds-of-code/snippets/view-commits-summary-no-merges.md
Angelos Chalaris 1397bb792e Deprecate expertise
2022-12-04 22:23:55 +02:00

23 lines
525 B
Markdown

---
title: View a short summary of commits without merge commits
tags: repository,commit
author: maciv
cover: blog_images/river-flow.jpg
firstSeen: 2021-04-06T11:22:55+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
---
Prints a short summary of all commits excluding merge commits.
- Use `git log --oneline --no-merges` to list a short summary of all commits without merge commits.
```shell
git log --oneline --no-merges
```
```shell
git log --oneline --no-merges
# 3050fc0de Fix network bug
# c191f90c7 Initial commit
```