Every Git command git-sim can simulate, played on one small repository. Pick a command and watch what it does, before and after. See how dangerous it is before you type it. Then read its page, or run it on your own repository.
135 commands6 topics1 sample repository, so every command is comparableSimulated by git-sim, real Git, not a model of it
This page is a local file, so a posted link only works once the .html is hosted somewhere. Copy the image to post right away, or download the page and attach it.
How to use this page
slider / ▶Drag the slider, or press play, to watch the command happen. Before and After jump to either end.
← → · spaceStep through a multi-step command; space toggles Before / After.
APlay or pause the loop (the page opens playing). Any manual input takes over.
hoverA commit shows its message, author, date and parents, with its history highlighted.
clickCopies the commit sha.
ctrl + wheelZoom around the cursor (pinch on a trackpad). Double-click resets the view.
EscStop playback, reset the view, close this menu.
shareThe Share button copies a link to this graph, copies it as an image, downloads PNG/SVG/page, or posts it. #before, #after or #step=N in the link pins the state.
Pick a command to watch it happen on a small sample repository.
git
safe
Sample repository: . Drag the slider or press play; hover a commit for its details.