Articles

Repositories & VCS

Git, mostly, and the commands you only need in a crisis: the errors with unhelpful messages and what they actually mean.

Git problems that arrive as an error message or as lost work, with the check that confirms the cause before you run the fix.

Push and merge errors. When a branch and a tag share a name, you get src refspec matches more than one on your side or dst refspec matches more than one when the remote has the clash. Refusing to merge unrelated histories covers when --allow-unrelated-histories is the right fix.

Lost work. git clean deletes untracked files with no undo: where copies may survive and the dry-run habits that prevent it. Git recovery in seven slides walks through undoing a commit, the reflog, the wrong branch and escaping a rebase.

Parallel work. One git worktree per AI coding agent keeps several agents on one repository from colliding, with the errors you will hit and safe cleanup.

Search these 6 posts

Everything in Repositories & VCS