Is there a way to have the Git log show the agent as the committer?

I noticed on the Git log that instead of the agent showing as the committer, it shows me as the committer. I actually don’t want to show myself as the committer when I didn’t actually do the commit. I only want the commit to show me when I’ve gone in, made manual edits, and then manually done a Git commit. Is there a way to change this behavior?

I don’t think this is currently configurable.

Replit treats Agent checkpoints as Git commits in the same repo/history, and the Git tools are tied to your workspace/repository identity rather than exposing a separate “Agent” committer you can switch on/off.

So if you want Git history to show only your manual commits under your name, I don’t think Replit currently gives that level of separation natively. That’s likely why Agent-made changes still appear attributable to you in the repo history. This part is an inference from how Replit documents checkpoints and Git integration, not an explicit setting I could find.

Practical workaround

  • Use Agent checkpoints as the AI history

  • Use manual Git commits only when you personally want to publish/record changes

  • Add a commit message convention like [manual] for your own commits

If you need strict author separation, this sounds more like a feature request than a hidden setting. Replit’s docs/support pages don’t show an option to change committer identity for Agent-generated commits.

Well, I asked the agent to use agent and agent@replit.com going forword to mirror the initial commit and it fixed all the commit messages, however, despite an attempt to have that going forward it did not after making a small change to the project to check. Looking at git config list shows dupe entries for name and email now, the later being the desired values. You’d figure the later dupe entries would override, but that’s an assumption on my part.

That said, I’m thinking you’re on the right track, but I’ll have to revisit this later since rollback didn’t clean things up correctly. I’ll have to do manual clean up or start a fresh project on paid plan to see a manual .gitconfig in the repo root would work. Tempted to just blow away the repo and make a fresh change to see how it recovers.

On a good note, I’m unsure if this is stock and I missed it or if it was after the agent’s changes, but I am seeing below from git log on all entries it’s making even with my user which is a decent alternative.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 26100e64-3877-486d-b2da-5e8e34c8d093
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 269d2d4c-ba14-4b10-b5fd-5e2603f2b2d7
Replit-Helium-Checkpoint-Created: true

1 Like