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?

Try making a separate Git identity for agent commits. Git pulls user.name and user.email from whatever is set in the config at commit time – so if you set a dedicated local config for the repo:

git config user.name "My Agent"
git config user.email "agent@myproject.dev"

Agent commits log under that identity, manual commits (made from your global config outside that context) log under you. Some platforms also support a proper bot account so the avatar and username reflect the agent in the UI too.

The Replit caveat: the agent is likely running under your authenticated credentials by default, so whether it respects a local Git config override is worth testing before assuming it works.


If the identity approach doesn’t hold up cleanly in your environment, a fallback worth testing: make commit messages distinctive enough to tell apart at a glance. Feed the agent a sample of known commit history, ask it to classify manual vs. agent commits, and validate the accuracy before relying on it at scale.

I’m trying to bake this into all my workflows so, I’ll continue to share anything I find useful for this type of issue. Feel free to grab anything I share that may be useful for you.