---
title: Git — Writing — Luke Oliff
description: "Every post on Git: 13 write-ups on what worked, what broke and what changed."
canonical: https://lukeocodes.dev/blog/category/git
type: website
locale: en_GB
feed: https://lukeocodes.dev/rss.xml
search: https://lukeocodes.dev/search.json?q={query}
schema:
  - "@context": https://schema.org
    "@graph":
      - "@type": Organization
        "@id": https://ably.com/#organization
        name: Ably
        url: https://ably.com
      - "@type": WebSite
        "@id": https://lukeocodes.dev/#website
        url: https://lukeocodes.dev
        name: Luke Oliff
        alternateName: lukeocodes
        inLanguage: en
        publisher:
          "@id": https://lukeocodes.dev/authors/luke#person
        description: Personal blog and writing by Luke Oliff — developer relations, voice AI, developer experience.
        potentialAction:
          - "@type": SearchAction
            target:
              "@type": EntryPoint
              urlTemplate: https://lukeocodes.dev/blog/search?q={search_term_string}
            query-input: required name=search_term_string
      - "@type": Person
        "@id": https://lukeocodes.dev/authors/luke#person
        name: Luke Oliff
        url: https://lukeocodes.dev/authors/luke
        description: Staff engineer and Staff Tech Lead for Developer Experience at Ably. Writing about developer relations, AI, and the voice industry, from the UK.
        mainEntityOfPage: https://lukeocodes.dev/authors/luke
        givenName: Luke
        familyName: Oliff
        image: https://lukeocodes.dev/authors/luke.jpg
        jobTitle: Staff Tech Lead, Developer Experience
        worksFor:
          "@id": https://ably.com/#organization
        sameAs:
          - https://www.linkedin.com/in/lukeocodes
          - https://github.com/lukeocodes
          - https://bsky.app/profile/lukeocodes.dev
          - https://x.com/lukeocodes
          - https://hashnode.com/@lukeocodes
          - https://dev.to/lukeocodes
        knowsAbout:
          - Developer Relations
          - Developer Experience
          - Voice AI
          - Text-to-Speech
          - Answer Engine Optimisation
          - Search Engine Optimisation
          - Open Source
          - Developer Tooling
          - API Design
          - Speech-to-Text
          - Voice Agents
          - Community Building
        knowsLanguage:
          - English
        nationality: British
        alumniOf:
          - "@type": Organization
            name: The Open University
---

[Luke Oliff.](/)

- [Blog](/blog) (current page)
- [CV](/cv)
- [Uses](/uses)
- [User manual](/user-manual)
- [Living with ADHD](/living-and-working-with-adhd)
- [RSS](/rss.xml)

[Luke Oliff · Category](/blog)

# Git.

13 posts

- [TIL: The git log Pickaxe Finds the Commit That Deleted a Line](/til-git-log-pickaxe) (Oct 2026 · Original · TIL): The git log pickaxe, git log -S, lists only the commits that added or removed a piece of text. Use it to find when a line of code went missing.
- [TIL: git rerere Remembers Your Conflict Resolutions](/til-git-rerere) (Sep 2026 · Original · TIL): Turn on git rerere once and git records how you resolved a merge conflict, then replays that resolution when the same conflict comes back in a rebase or merge.
- [The git config Defaults Worth Overriding](/git-config-defaults) (Sep 2026 · Original · Git): A few git config defaults are just wrong for modern work. These one-liners fix branch sorting, new-branch pushes, diffs and command typos.
- [The Case for a .gitignore Allowlist](/gitignore-allowlist) (Sep 2026 · Original · Git): A gitignore allowlist ignores everything by default and re-includes only what you track. It flips the denylist habit, with one directory-traversal gotcha.
- [Keeping Git Fast at Scale](/git-at-scale) (Aug 2026 · Original · Git): Keeping git fast at scale isn't about a bigger machine. Partial clone, sparse-checkout, fsmonitor and the commit-graph cut the work git does per command.
- [How to Split a Messy Git Commit Into Clean Ones](/splitting-a-git-commit) (Aug 2026 · Original · Git): Splitting a git commit into clean, reviewable pieces takes an interactive rebase, a soft reset, and git add -p. Here is the exact sequence.
- [TIL: GitHub Actions $/ Self-Reference Syntax](/til-github-actions-self-reference-syntax) (Aug 2026 · Original · TIL): Reference actions and workflows in the same repo using $/ syntax. Sibling actions match the running commit automatically, no hardcoded versions.
- [TIL: git history fixup replaces the autosquash dance](/git-history-fixup) (Jul 2026 · Original · TIL): Git 2.55's experimental git history fixup folds staged changes into an earlier commit in one command. I built it from source and ran it.
- [TIL: Speeding Up GitHub Operations With gh Aliases](/til-gh-aliases-github-workflows) (Feb 2025 · Original · TIL): gh alias set maps custom shortcuts to any gh command. Common workflows become two-word commands instead of multi-flag incantations.
- [TIL: Interactive Staging With git add -p](/til-git-add-p-interactive) (Sep 2024 · Original · TIL): git add -p shows each change hunk by hunk and asks whether to stage it. Commit only the relevant parts of a messy working tree.
- [TIL: Configuring pre-commit Hooks for Python and Node Repos](/til-pre-commit-hooks-python-node) (May 2022 · Original · TIL): pre-commit runs linters and formatters on every git commit. A .pre-commit-config.yaml enforces the same checks across every contributor.
- [TIL: Using git bisect To Find the Commit That Broke a Build](/til-git-bisect-find-breaking-commit) (Jul 2021 · Original · TIL): git bisect does a binary search through your history to find the exact commit that introduced a bug. Mark good and bad, it does the rest.
- [TIL: Conditional Git Hooks With core.hooksPath](/til-git-hooks-core-hookspath) (Aug 2020 · Original · TIL): Git's core.hooksPath lets each repo use its own hooks directory. No more symlinks or global hook collisions across projects.

## Search this site

`GET https://lukeocodes.dev/search.json?q=<words>` returns matching posts as JSON, each with its page URL and its markdown URL. Add `&limit=<1-50>` for more than 10. How it works: [/blog/search](https://lukeocodes.dev/blog/search.md).

```sh
curl "https://lukeocodes.dev/search.json?q=developer+relations"
```

---

© 2026 Luke Oliff. Posts live at the root of this site.

- [GitHub](https://github.com/lukeocodes)
- [LinkedIn](https://www.linkedin.com/in/lukeocodes)
- [X](https://x.com/lukeocodes)
- [Bluesky](https://bsky.app/profile/lukeocodes.dev)
- [Email](mailto:luke@lukeoliff.com)
- [RSS](/rss.xml)

## Cookies

This site sets one analytics cookie, from Google Analytics, and only in a browser that accepts the cookie banner. A client that does not run scripts sets no cookies, so there is nothing to accept or decline here.

[Cookie policy](/cookies)
