nowfound

Dev tools · June 12, 2015

GI

'git inject' – amend commits other than HEAD

'git inject' is a git alias (see code at the bottom). It is similar to 'git commit --amend', but it allows you to 'inject' your changes into commits further back in history (using 'rebase'). If you're as pedantic as I am about the git history you're about to push into master (as far as I can control it, I strive to keep each commit conceptually coherent), you'll often come to a situation where you have a modification that really belongs in an older commit. It takes a few git commands to stash other changes away, commit the modification, then interactively rebase over some previous commit,…

'git inject' – amend commits other than HEAD launched on June 12, 2015 with 71 votes, #834 of 3,954 launches that month and more than 95% of that year's launches.

Alternativestop 21% of June 2015

In plain words

Git inject is a git alias that allows developers to amend commits earlier in history, similar to git commit --amend but for non-HEAD commits. It uses interactive rebase to inject changes into older commits while keeping the rest of the history intact. This tool is designed for developers who maintain clean, conceptually coherent commit histories and need to add modifications to previous commits without manually stashing changes and performing multiple rebase steps.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

'git inject' is a git alias (see code at the bottom). It is similar to 'git commit --amend', but it allows you to 'inject' your changes into commits further back in history (using 'rebase'). If you're as pedantic as I am about the git history you're about to push into master (as far as I can control it, I strive to…

Does a similar job

all alternatives →
  • I made a git rebase TUI editor2024 · github.com · ▲115

    I use interactive rebase quite often, and particularly like the editor bundled with IntelliJ. But I do not always work with IntelliJ, and am not 'fluent' with Vim, so I tried to replicate roughly the same rebase experience within a TUI. I used a small TUI OCaml project i made last year. The notable features are: - Move commits up and down, fixup, drop - Rename commits from the editor (without having to stop for a reword during the rebase run) - Visualize modified files along commits - 'Explode' a commit ,creating a commit for each modified file (a thing I found myself doing quite often)…

  • Git–fiddle – Edit commit messages, author and timestamps during rebase2016 · github.com · ▲60

    Edit commit messages, authors, and timestamps during git-rebase - felixSchl/git-fiddle

  • Git-knife – Edit commit messages, authors, and dates like a spreadsheetAug 2026 · github.com · ▲166

    Contribute to TheRealYT/git-knife development by creating an account on GitHub.

  • Rebase-editor, a simple CLI app specifically for Git interactive rebase2017 · github.com · ▲62

    Simple terminal based sequence editor for git interactive rebase. - sjurba/rebase-editor

  • 'rebaser' improves on 'git rebase -i'2015 · gist.github.com · ▲66

    'rebaser' improves on 'git rebase -i' by adding information per commit regarding which files it touched. - README.md

  • Git in-memory in browser with Web Assembly2022 · harmonyland.vercel.app · ▲12

    Create, upload, edit (multiple) files on the fly, in the browser. Git branches and git commits allow to save your changes, create multiple "workspaces" and switch between them in one click. Repo: https://github.com/thomscoder/harmony

More dev tools this month

the category →
  • /dev/null▲481

    a social network for devs

    Dev tools · 2d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 27d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 25d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 22d ago · openbot.run

  • Talanoa▲341

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 20d ago · talanoa.email

  • CoreSpeed▲332

    One MCP for everything your agents need: apps, memory, tools

    Dev tools · 28d ago · corespeed.io

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, June 2015

the whole month →
  • A​rticles you need to read before launching a startup.

    Growth · 2015 · startuplaunchlist.com

  • Get any site's company logo with just a URL

    Dev tools · 2015 · clearbit.com

  • The best new games, every day

    Life & fun · 2015

  • Coverr▲584

    Beautiful, free videos for your homepage background.

    Work · 2015 · coverr.co

  • SLIDE▲563

    A hoverboard by Lexus (no joke)

    Life & fun · 2015

  • The Best Landing Page Inspiration

    Work · 2015 · lapa.ninja