Files
30-seconds-of-code/git/snippets/view-commits-summary.md
2023-05-01 22:28:09 +03:00

23 lines
404 B
Markdown

---
title: View a short summary of commits
type: snippet
tags: [repository,commit]
cover: highlands
dateModified: 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
```