Kill -9 an Agent Mid-Commit and .git/index.lock Outlives It. How Git's Locks Work

git commit -a holds .git/index.lock while your pre-commit hook runs. SIGKILL the agent then and the lock stays. Plus the locks every worktree shares.

Read Original

Related