Nest all content into snippets
This commit is contained in:
23
snippets/git/s/view-commits-summary.md
Normal file
23
snippets/git/s/view-commits-summary.md
Normal file
@ -0,0 +1,23 @@
|
||||
---
|
||||
title: View a short summary of commits
|
||||
type: snippet
|
||||
language: git
|
||||
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
|
||||
```
|
||||
Reference in New Issue
Block a user