Graph Log Fill
Fill in the Blank Medium
Question
Fill in the blank to show commit history as a graph with branch lines.
Code
git log --oneline ___
Hint
The flag to draw a graph starts with --graph.
Explanation
git log --oneline --graph shows the commit history as a text-based graph with branch and merge lines drawn on the left. Combined with --oneline, it gives a compact visual overview of how branches and merges relate. Add --all to see all branches.
Related Resources
Related Lessons
Related Cheatsheets
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.