An Amp plugin that disables both forms of Amp attribution in Git commits:
{
"amp.git.commit.ampThread.enabled": false,
"amp.git.commit.coauthor.enabled": false
}The plugin applies these values to Amp's user-level settings when a thread session starts. It does not change the Git author, committer, signing configuration, commit message, or any unrelated Amp setting.
Personal Plugins are available everywhere you use Amp. Open Puck with Ctrl+/ on ampcode.com, or select puck: open from the Amp command palette. Then send:
Install https://github.com/lATAl/amp-disable-git-attribution as a Personal Plugin named amp-disable-git-attribution. Ask before pushing the Personal Plugins repository, then reload the plugins.
The plugin automatically applies the settings in new local sessions and Orbs. Existing sessions may need a plugin reload or restart.
You do not need the plugin for one machine. Run amp config edit and add the two settings shown above.
Start or reopen an Amp thread, then check the user settings file:
cat "${XDG_CONFIG_HOME:-$HOME/.config}/amp/settings.json"Both settings should be false. If you installed the Personal Plugin, confirm that it loaded:
amp plugins listOpen Puck and send:
Remove amp-disable-git-attribution from my Personal Plugins. Ask before pushing the Personal Plugins repository, then reload the plugins.
Removing the plugin does not restore the settings. Run amp config edit and set either value to true if you want to enable that attribution again.
The plugin only reads and updates the two Amp user settings shown above. It does not execute shell commands, read repository contents, make network requests, or send data anywhere.
Requires Bun to run the tests:
bun test amp-disable-git-attribution.test.tsMIT