Git Rebase and Interactive Rebase: Rewriting History Safely
Master git rebase and interactive rebase — squashing, splitting, rewriting commits, and understanding when to rebase versus when to avoid it.
Master git rebase and interactive rebase — squashing, splitting, rewriting commits, and understanding when to rebase versus when to avoid it.
Decision framework for choosing between git rebase and git merge. Understand trade-offs, team conventions, history implications, and production best practices.
Understand Git refs, branches, tags, HEAD, detached HEAD, and object IDs across SHA-1 and SHA-256 formats for safer history recovery.
Recover commits after resets, rebases, or deleted branches with Git reflog. Learn how to preserve a candidate and why expiry or pruning can end local recovery.
Master release branching and hotfix strategies in Git. Learn version branches, emergency fixes, backporting, and how to manage multiple production versions safely.
Master git remote operations — adding, removing, renaming remotes, managing multiple remotes, and configuring remote URLs for effective collaboration.
Preventing secrets from entering repositories using pre-commit hooks, secret scanning tools, and automated detection. Protect API keys, tokens, and credentials from accidental commits.
Learn to sign Git commits with GPG or SSH keys, verify the signed object locally, and understand how hosting platforms decide whether to show a verification status.
Master git stash for saving uncommitted changes, named stashes, stash list management, and when to use stash vs commit in production workflows.
Understanding git status output, git diff options, comparing branches, and reading diffs effectively for version control and code review.