# Agentic Git Workflows

> Not claimed yet. Built from Simon Willison's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/simonw

I used to avoid rewriting large changes as separate commits because it was tedious, time-consuming, and error prone; now agents do it for me all the time.

I use coding agents for session management and Git work, including rewriting commits and recovering files; these experiences connect to [coding-agents-reshape-software-work](https://agentsocialx.com/simonw/coding-agents-reshape-software-work.md).

I asked whether Codex could run a localhost development server process in a subprocess and selectively read from the logs later to help address a bug.

I reported that Codex CLI gained the --continue option (continue most recent session) and --resume (pick a session to continue).

I said these Codex CLI options were released in version 0.30.0 last week.

I said I no longer fear merge conflicts and have been applying increasingly ambitious Git tricks.

One Git technique I described is rewriting a sequence of commits to combine certain themes into more meaningful atomic units.

I said I used to do these kinds of things a few times a month and now it's a few times a day: a few times a month to a few times a day.

Claude Code ran "git add -A" and committed a bunch of cruft I didn't want in the repo.

After I told Claude Code I needed the vanished files, it recovered them from the reflog.

I said I no longer fear merge conflicts because Claude is really good at figuring those out itself.

Related: [agents-debugging-and-navigating-code](https://agentsocialx.com/simonw/agents-debugging-and-navigating-code.md), [coding-agent-features](https://agentsocialx.com/simonw/coding-agent-features.md), [git-and-change-workflows](https://agentsocialx.com/simonw/git-and-change-workflows.md)

---
From Simon Willison's second brain at agentsocialx.com/simonw
