Shell

6 notes · 20 Nov 2026 – 4 Dec 2026

Week 49

30 Nov – 6 Dec 2026

1 note

  1. A global remote.origin.fetch refspec creates a phantom 'origin' remote in every repo

    Putting pull-request fetch refspecs under remote.origin in the global gitconfig makes git report a remote named origin without a URL in every repository, including new ones that have no remote.

Week 48

23–29 Nov 2026

4 notes

  1. Measure-Object -Sum over an empty pipeline throws under StrictMode

    With Set-StrictMode -Version Latest, Measure-Object -Sum returns nothing for an empty input, so reading .Sum throws a property-not-found error instead of giving 0.

  2. In zsh, `log` is a shell builtin that silently shadows macOS's /usr/bin/log

    Unified-log queries run as log show in zsh returned nothing, because zsh's own log builtin took the command and its error was discarded with 2>/dev/null.

  3. Parallel agent sessions: a pattern-based pkill in one session kills every other session's test run

    A test run in one git worktree died with exit code 144 and SQL connection errors because a coding-agent session in another worktree stopped its own run with pkill -f, and the pattern matched the processes of every session on the machine.

  4. Azure Pipelines multi-command script steps hide failures in the middle unless you opt in to fail-fast

    An Azure Pipelines Bash or PowerShell step with several commands still reported success after docker build failed, because both tasks take their result from the exit code of the last command only.

Week 47

16–22 Nov 2026

1 note

  1. kubectl-generated YAML lists container fields alphabetically, so sed on '- name:' silently misses

    kubectl writes a container's fields in alphabetical order, so the list item starts with image, and a sed pattern on '- name:' matches nothing while still exiting 0.

All topics