Files
30-seconds-of-code/snippets/view-commit-graph.md
Angelos Chalaris fb4b6fbc8e Update covers
2023-02-16 22:24:37 +02:00

595 B

title, tags, cover, firstSeen, lastUpdated
title tags cover firstSeen lastUpdated
View a visual graph of the repository repository city-view 2021-04-06T16:28:49+03:00 2021-04-13T21:10:59+03:00

Prints a visual graph of all commits and branches in the repository.

  • Use git log --pretty=oneline --graph --decorate --all to view a visual graph of the whole repository's history.
  • Use arrow keys to navigate, press Q to exit.
git log --pretty=oneline --graph --decorate --all
git log --pretty=oneline --graph --decorate --all
# * 3050fc0de Fix network bug
# * c191f90c7 Initial commit