Tag: git
All the articles with the tag "git".
-
Exporting Clean Snapshots with git archive
How git archive creates tarballs and zip files from any commit, tag, or branch — without the .git directory and with fine-grained control over what gets included.
-
Transporting Git Repositories Offline with git bundle
How to package a git repository or a range of commits into a single portable file — for air-gapped transfers, offline backups, or sharing history without network access.
-
Git Blame Beyond the Basics
The flags that make git blame genuinely useful: line ranges, copy detection across files, whitespace-aware attribution, and output formatting for scripts.
-
Hiding Formatting Commits from Git Blame with .git-blame-ignore-revs
How to use .git-blame-ignore-revs to stop formatting-only commits from polluting git blame, preserving the ability to trace actual logic changes back to their authors.
-
Rewriting History Precisely with git rebase -i and --onto
How interactive rebase gives you surgical control over commit history, and how --onto lets you transplant a branch segment onto any base.
-
Git Aliases That Go Beyond Shortcuts
How git config aliases can run shell commands, accept arguments, chain multiple operations, and become first-class workflow tools — not just abbreviations.