20 lines
338 B
Markdown
20 lines
338 B
Markdown
---
|
|
title: View a short summary of commits
|
|
tags: repository,commit,intermediate
|
|
---
|
|
|
|
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
|
|
```
|