Files
30-seconds-of-code/snippets/view-commits-summary.md
Isabelle Viktoria Maciohsek 87ad2786b8 Add view commits snippets
2021-04-06 11:22:55 +03:00

20 lines
334 B
Markdown

---
title: View a short summary of commits
tags: repository,commit,beginner
---
Prints a short summary of all commits.
- Use `git log --oneline` to list a short summary of all commits.
```sh
git log --oneline
```
```sh
git log --oneline
# d540ba1ab Merge network bug fix
# 3050fc0de Fix network bug
# c191f90c7 Initial commit
```