GitMini guides
Page 2
Practical guides to read your Git history, prepare cleaner commits and organize your branches. Every example runs in a throwaway repository, so you can try it before touching your own work.
Git log oneline: read compact history without losing context
Learn what git log --oneline prints, add --graph and --decorate to see branches, then limit the output by count, date or path while keeping your bearings.
Git show commit: inspect commit details and changes
Use git show to read a commit’s message, author and diff, limit it to one file, and understand what it prints for a merge commit, with real outputs.
Git interactive rebase: organize commits before sharing them
Learn how a Git interactive rebase works: reword, squash and reorder local commits, handle conflicts, and check the result before you push.
Git merge vs rebase: choosing for your history and team workflow
Git merge vs rebase on the same diverged branch: compare both graphs, fast-forward and merge commits, then pick the right one for your team.
Git reorder commits with an interactive rebase
Git reorder commits with an interactive rebase: swap independent commits, see why dependent ones conflict, and check the final tree and graph.
Git squash commits: combine local commits into one
Git squash commits with an interactive rebase: combine local commits into one, pick the final message and check that the files did not change.