← Back to context

Comment by WilcoKruijer

14 days ago

I experimented with a command for atomic commits a while ago. It explicitly instructed the agent to review the diff and group related changes to produce a commit history where every HEAD state would work correctly. I tried to get it to use `git add -p`, but it never seemed to follow those instructions. Might be time for another go at this with a skill.

I have had success with having the skill create a new branch and moving pieces of code there, testing them after the move, then adding it.

So commit locally and have it recreate the commit as a sequence on another branch.