Skip to main content

Harshal V. LADHE

Git Rebase: Interactive Rebasing and History Rewriting

Using git rebase — including interactive rebase, autosquash, and the tradeoffs of rewriting shared history.

Content tagged rebase

  • Snippet:git fix-dates: Fix GitHub Commit Dates After a Rebase

    Reset 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.
    Published at:
    Categories:Git
    Estimated reading time:5 min read
  • Post:Advanced Git: Rebasing, Internals, and Real-World Workflows

    Series:Git: From Basics to Advanced (2/2)
    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.
    Published at:
    Categories:Git
    Estimated reading time:13 min read