Skip to content
the digital lair
WritingTopics

Search articles

Type at least two characters.

    Visitors now

    Loading...

      HomeWritingTopics
      ← Topics

      On Git

      Git workflows, recipes, and the occasional sharp edge.

      • CI Needs a Return Address

        Sep 10, 2026
        • AI
        • Agentic Coding
        • Git
        A man drinks coffee in the foreground while three robots gesture to one another in a sunlit workshop.

        I was copying review comments from GitLab into an agent chat. Being the mailman got old, so I built a watcher to deliver the feedback and remember what still needed attention.

        Continue
      • Auto-Symlink Claude Code Memory in Git Worktrees

        Dec 29, 2025
        • Git
        • AI
        • Agentic Coding
        A calm developer watches a terminal-like screen while a busy mechanical octopus links blank cards between workspaces.

        A practical post-checkout hook that keeps local Claude Code memory files available in every Git worktree without committing them to the repository.

        Continue
      • AI-Generated Git Commit Messages

        Dec 25, 2025
        • Git
        • AI
        • Agentic Coding
        Copper rails gather stacks of blank cards into one larger sheet, with a pencil beside the output.

        Use Claude Code CLI to generate meaningful commit messages following conventional commits format.

        Continue
      • Understanding ours and theirs in Git Merge and Rebase

        Jul 28, 2020
        • Software Engineering
        • Git
        Iroh holding up a Pai Sho tile, used as a metaphor for choosing sides during git merges and rebases.

        Git uses the words ours and theirs from the point of view of the operation it is currently performing. That is why they mean one thing during merge and can feel reversed during rebase.

        Continue
      • Removing Passwords from Git History

        Sep 16, 2015
        • Software Engineering
        • Git
        Doc Brown with a remote control and Marty McFly staring in shock at night in Back to the Future

        Any version control system exists to preserve every project change across its entire history, so a leaked password, token, or key will not disappear by itself. Here is the modern recipe: rotate first, then git filter-repo, then a coordinated cleanup of every copy.

        Continue
      • Migrating from Mercurial to Git

        Sep 15, 2015
        • Software Engineering
        • Git
        A long column of wildebeest fording a blue-green river from a dry bank toward a green one

        Sometimes you need to keep working on old projects that may use outdated version control systems, such as Mercurial or, God forbid, SVN.

        Continue
      • Show the current Git branch in your Bash prompt

        Jul 7, 2013
        • Software Engineering
        • Git
        A forest path forks beside a wooden arrow with a teal ribbon pointing along the right-hand trail.

        Put the branch name beside your working directory using Git’s own prompt helper. The missing step: load git-prompt.sh before calling __git_ps1.

        Continue
      • How To Politely Ask Git To Remind You About Migrations

        Apr 22, 2013
        • Software Engineering
        • Git
        Two dark guide rails merge at a pale stone tile that activates a brass reminder bell

        Let Git remind you about migration files when you switch branches. This updated recipe compares the commits passed to post-checkout and leaves database migration tracking to your framework.

        Continue
      • First Git Config I Set on a New Machine

        Oct 23, 2012
        • Software Engineering
        • Git
        Hands adjust the paper guides of a typewriter on a sunlit desk before a blank page is written.

        A small, current Git setup: identity, default branch name, editor, credential helper, and a few aliases that make day-to-day work less noisy.

        Continue
      • How To Clean Up A Repository

        Aug 14, 2012
        • Software Engineering
        • Linux
        • Git
        Loose sheets lie beside a neatly aligned stack between wooden guides on a blue-gray table in a sunlit archive.

        It is always pleasant to start a project from scratch, create its repository yourself, define the coding style accepted in it, and much else. But sometimes we inherit difficult children with a heavy past: mixed tabs and spaces, different line endings, and encodings.

        Continue
      • 1
      • 2

      More topics

      • Software Engineering
      • Agentic Coding
      • AI
      • Linux
      • DevOps
      • All topics →
      the digital lair

      A personal notebook on software, systems, books, and games.

      HomeWritingArchiveTopics

      © 2026 Dmitry Sinev