Simon Willison’s Weblog

Subscribe

Guides > Agentic Engineering Patterns > Using Git with coding agents

Changes to Using Git with coding agents

March 21, 2026, 10:08 p.m. #

Draft status changed from draft to published.

March 21, 2026, 10:08 p.m. #

--- +++ @@ -101,6 +101,7 @@ Remove uv.lock from that last commit ``` You can also perform more finely grained surgery on commits - rewriting them to remove just a single file, for example. + ```markdown-copy Combine last three commits with a better commit message ```

March 21, 2026, 10:06 p.m. #

--- +++ @@ -78,7 +78,7 @@ Coding agents can handle this boilerplate for you. This upgrades Git bisect from an occasional use tool to one you can deploy any time you are curious about the historic behavior of your software. -## Faking or rewriting history +## Rewriting history Let's get into the fun advanced stuff.

March 21, 2026, 10:03 p.m. #

Initial version.