Skip to content
HN On Hacker News ↗

Splitting a git commit

▲ 136 points 71 comments by signa11 1w ago HN discussion ↗

Pangram verdict · v3.3

We believe that this entire text is human-written.

0 %

AI likelihood · overall

Human
100% human-written 0% AI-generated
SEGMENTS · HUMAN 1 of 1
SEGMENTS · AI 0 of 1
WORD COUNT 91
PEAK AI % 0% · §1
Analyzed
Aug 18
backend: pangram/v3.3
Segments scanned
1 windows
avg 91 words each
Distribution
100 / 0%
human / AI fraction
Verdict
Human
Pangram v3.3

Article text · 91 words · 1 segments analyzed

Human AI-generated
§1 Human · 0%

2026-08-12 Splitting a git commit is now easy, using: git history split ${REF} It will ask you hunk by hunk for the things to include in the first commit, and then bring up the editor for the first and second commit message. It couldn’t be simpler than that. P.S. The stack overflow question for splitting commits discusses the old and cumbersome approach. The 20th answer discusses the right approach but has a meagre 2 upvotes as of today, compared to 2656 for the older top answer with the cumbersome approach. Comments