Git Large File Staging & Rebase Corruption Recovery When pre-commit hooks block commits due to oversized files (e.g., 5MB logs), unstage the problematic files, reset the staging area, then selectively re-add excluding large aggregated files. If a rebase-merge directory exists with only an autostash file, it signals corruption — remove it and switch to merge-pull instead. For untracked files blocking pulls, move them to /tmp, complete the pull, then restore. Use and to verify state before proceeding. ---