Back to browse
Copy the Code. Keep the Updates

Copy the Code. Keep the Updates

by dantelex·Jul 8, 2026·1 point·0 comments

AI Analysis

●●SolidBig BrainSolve My Problem

PATCH.md stores your edit reasoning so merges know why you changed things.

Strengths
  • regraft.json tracks exact upstream commit for every copied file automatically
  • Three-way merge distinguishes your edits from upstream changes cleanly
  • Works with any git host using existing credentials, no tokens needed
Weaknesses
  • Git subtree and submodules already solve vendoring with upstream tracking
  • Requires discipline to run regraft note after every edit
Target Audience

Developers who vendor third-party code into their projects

Similar To

git subtree · git submodule · repo sync

Similar Projects