Git and Version Control
Posts, tutorials, and snippets on Git — from everyday staging, committing, and branching to advanced rebasing, history rewriting, and disaster recovery workflows.
Content in Git
Snippet:
git fix-dates: Fix GitHub Commit Dates After a RebaseReset committer dates to author dates, then safely force-push.A git fix-dates command that resets committer dates to author dates after a rebase or amend, keeps merges intact, and force-pushes safely.Post:Advanced Git: Rebasing, Internals, and Real-World Workflows
Rebase confidently, understand internals, and recover from anywhere.An advanced Git guide covering interactive rebasing, cherry-picking, bisect, Git internals (objects, refs, the .git directory), submodules, worktrees, hooks, reflog-based recovery, and real branching workflows.Post:Git Basics: A Beginner's Guide to Version Control
Master Git's core workflow, from commit to merge.A beginner-friendly guide to Git covering setup, the staging area, everyday commands like add/commit/diff/log, .gitignore, branching, merging, undoing mistakes, stashing, remotes, and tags.