GitMini guides
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.
GitKraken alternatives: choosing a Git client for your workflow
Looking for a GitKraken alternative? Compare graph, staging, rebase and platforms from dated sources, test on one repository, then pick your Git GUI.
Git commit amend: change the last commit message or content
Use git commit --amend to fix the last commit message or add a forgotten file, see why the commit ID changes, and what to do if it was already pushed.
Git diff staged: review the changes in your next commit
Git diff staged shows what your next commit will contain. Compare git diff and git diff --cached on a partially staged file, then read it in GitMini.
Git add patch: stage only part of a file
Use git add -p to stage only part of a file: pick hunks with y and n, check what is staged, and select hunks visually in GitMini.
Git add and staging: prepare exactly what goes into your next commit
Learn how git add moves changes into the Git staging area, how to check them with git diff --cached, and how to split your work into clean commits.
Git log all branches: view history beyond the current branch
Use git log --all to list commits from every branch, not only the one you are on, and learn to read local and origin/ references in a terminal or in GitMini.
Git log graph: understand branches and commits visually
Read git log --graph step by step: commits, parents, branch pointers, a divergence and its merge, then compare the terminal view with a desktop graph.
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.