Files
30-seconds-of-code/snippets/view-commits-summary.md
2022-05-04 19:36:40 +03:00

25 lines
478 B
Markdown

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