Production Fixes
Real issues from real deployments. Each fix is tagged by tool so you can find what you need fast.
Secret accidentally committed to Git
API key or password committed to the repo — need to remove it from history.
Read fix →Stuck in detached HEAD state
git status shows "HEAD detached" and commits seem to disappear.
Read fix →Merge conflict blocks PR merge
PR cannot be merged due to conflicts with the target branch.
Read fix →Need to undo a commit already pushed to main
Bad commit was merged to main — need to remove it without rewriting history.
Read fix →Push rejected: file too large
git push fails because a large file was committed.
Read fix →Committed to main instead of feature branch
Accidentally committed directly to main (or wrong branch).
Read fix →Branches have diverged — push rejected
git push rejected because remote has commits your local branch does not.
Read fix →Submodule directory is empty after git clone
After cloning a repo, submodule folders are empty.
Read fix →