Git · Everyday workflow

git log

Shows history. The compact graph makes branches and merges readable.

Syntax
git log --oneline --graph --decorate

Example

Example
git log --oneline --graph --decorate -10

More in this group

git add git blame git commit git commit --amend git diff git fetch git mv git pull

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course