git
Installing git, gh, and glab, and the auth each one actually needs - 2026-09-12
Three separate tools, three separate installs, and — the part that isn't obvious until it bites you — three separate credential stores. git itself doesn't know about GitHub or GitLab; gh and glab each keep their own token; and only one of them bridges that token into plain git…
Syncing a diverged fork: take the pipeline fixes, not the content - 2026-09-27
This TIL collection started as a fork of simonw/til, and since then the fork has diverged completely. The articles are mine, the build is mine (see static-site-instead-of-datasette.md), and upstream's build.yml was deleted. GitHub still shows a "This branch is N commits behind…
Configuring a repository for coding agents: what the guidance actually says - 2026-09-27
This repo is mostly written with a coding agent (Claude Code, running in a cloud session). The agent opens branches and PRs and fixes CI. After a few rounds of that I wondered whether there's any agreed guidance on how the repository should be set up for it: branch protection,…
A branch you fetched was force-pushed: keep the old tip, then `rebase --onto` - 2026-09-27
A coding agent pushed a commit to my branch (2913eb4), and I fetched it. It then amended the commit message, force-pushed the new version (504a439, same code), and pushed its next step (d23665b) on top. My clone was left on a commit GitHub no longer had.
Deleting merged branches: GitHub's auto-delete, GitLab's equivalent, and the local clone - 2026-10-28
A merged branch has done its job, but nothing removes it by default. It stays on GitHub or GitLab, it stays in every clone, and the branch list grows until nobody knows which ones still hold work. Squash merges make it worse, because Git itself no longer recognises those…
Conventional Commits: commit messages that tools can read - 2026-11-08
Conventional Commits is a short specification (version 1.0.0) for the first line and footers of a commit message. A human reads feat(rke2): add optional agent configuration as "a new feature in the rke2 part"; a tool reads the same line and can decide the next version number,…
`git config user.email` isn't the identity Git commits with: check `git var` - 2026-11-08
In a cloud coding session, git config user.email printed noreply@anthropic.com, yet commits came out as abdelhousni <23284113+abdelhousni@users.noreply.github.com>. Both were right about different things. git config only reads configuration files; the environment…