Show the Git history compactly as a graph
git log oneline graph all | show branches as tree | list recent commits briefly | git | log | historygit log --oneline --graph --decorate --all -n 30Prints one line per commit with short hash and subject and draws branches and merges as an ASCII graph on the left. --all includes other local and remote branches, and --decorate shows where branches and tags point. Useful for getting a quick overview of a deployment’s state on a server.
Note: Remote branches are only as current as the last git fetch.
Also searched as
- git log oneline graph all
- show branches as tree
- list recent commits briefly