git
git add -- <file> aborts for a tracked file under an ignored folder; use git add -ugit4 Oct 2026git add -A silently skips a file the global ignore lists, such as AGENTS.mdgit30 Oct 2026git filter-repo removes origin and the upstream, and drops commit signaturesgit2 Oct 2026rgit --toon commit runs the pre-commit hook but prints no hook outputgit2 Oct 2026wrangler dev writes Miniflare state into .wrangler/; ignore it before the first rungit2 Oct 2026A ; chain after a commit keeps going when the pre-commit hook failsgit22 Oct 2026A pre-commit grep -P hook fails on macOS, and ! grep hides the failuregit2 Oct 2026After libgit2 rewrites the index, git status can miss a same-second, same-size editgit28 Sep 2026Brace and quote commit variables before a Git path in zshgit5 Oct 2026Commit locally and let the user pushgit30 Sep 2026Detect AI attribution in a commit by tool email or product name, not by single wordsgit2 Oct 2026Fold a correction into an earlier commit with git commit --fixup and rebase --autosquashgit29 Sep 2026Git 2.53 to 2.55 changed several outputs and behaviors that tools and byte-parity tests rely ongit30 Sep 2026git add -N to diff untracked files changes the index of a worktree another agent usesgit8 Oct 2026git add exits 1 when an exclude pathspec names an ignored pathgit29 Sep 2026git checkout -- <file> to undo your own edit also wipes other uncommitted work in that filegit9 Oct 2026git stash create refuses a tree that has an intent-to-add entrygit29 Sep 2026How git's octopus merge works, for a tool that must match itgit28 Sep 2026libgit2 applies a hunk at its new-side start line, so a hand-built one-hunk patch needs that line on the + sidegit28 Sep 2026libgit2 delivers remote sideband progress in arbitrary chunks, not whole linesgit6 Oct 2026libgit2 ignores GIT_CONFIG_GLOBAL and still reads ~/.gitconfig and ~/.config/git/configgit28 Sep 2026libgit2's cleanup_state also deletes BISECT_LOG, which breaks a bisect in progressgit28 Sep 2026Never turn commit signing off; SSH signing works without a promptgit30 Sep 2026prek checks only the staged files, so an unstaged fix does not countgit2 Oct 2026Rebuild a commit series by feature groupgit4 Oct 2026rgit absorb stops on a hunk and leaves files staged, so fold with per-path fixup commitsgit8 Oct 2026rgit stage, unstage and discard take many paths, and --hunk takes rgit's own start linesgit28 Sep 2026Split one large uncommitted change into feature commits that each buildgit30 Sep 2026Tests run from a git pre-commit hook inherit GIT_INDEX_FILE and break every temp repositorygit29 Sep 2026Two test repositories with identical initial content share a root commit hashgit4 Oct 2026With rebase.updateRefs on, a backup branch made before a rebase does not keep the old historygit27 Sep 2026