Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
git config in Depth: includeIf for Work/Personal Identities, Two GitHub Accounts, url.insteadOf and Recommended Team Settings
With includeIf "gitdir:~/work/" the work identity applies only to repos in that folder; forget the trailing / and the condition silently never matches. We try identity by remote URL with hasconfig, two GitHub accounts with an SSH host alias and url.insteadOf, useHttpPath in the credential helper and recommended team settings with Git 2.56.
Git 2.40–2.49: reftable, SHA-256, git replay and the New git config
We look at the 2.40–2.49 period, when the foundations of Git 3.0 were laid, with real output: the reftable ref store and git refs migrate, where SHA-256 repos stand today, git config's get/set/unset/list subcommands, worktree add --orphan, git replay, safe.directory prefixes, git backfill and Rust's first step.
Installing Git and First Settings: Starting Right with git config
We install Git on macOS, Windows and Linux, check the version and look at the system/global/local config layers, user.name and user.email, why init.defaultBranch main matters, core.editor and core.autocrlf. We compare the git config list/get/set/unset subcommands (2.46+) with the old --get form.