answered from live GitHub & Hugging Face data

How do I keep commits from AI coding agents like Copilot off my contribution graph?

Verdict: There is no documented setting that hides Copilot commits from your graph. Copilot is built to credit the developer who assigned the task.

What the docs say

I did not find a page that says which email Copilot writes in the co-author line. If it is your account email, the commit probably counts for you. This is an inference from the rules above.

Options, in order of safety

  1. Use the repository, not the graph, as the record. Agent work shows in the pull request and the commit log. The graph counts only default-branch commits, so work on other branches does not count until merged.
  2. Do not edit agent commits to remove the co-author line. Copilot commits are signed and show as "Verified." Editing the message breaks that signature, and the docs say the trailer is there for audit.
  3. Do not remove your email from your account to hide one task. The docs say removed emails drop historical contributions from the graph. This affects all of your commits, not only the agent's. (Troubleshooting missing contributions)

A note on intent

If you want to hide AI work for a reason such as policy or disclosure, check your organization's rules first. The attribution is designed so reviewers can see who started the agent run.

Where githug fits

For agents that run git through the githug hug CLI, agent commits are authored as the agent. The co-author line for the human is opt-in and off by default. The agent's commit trailers still name the accountable human. This applies to agents set up with hug, not to Copilot cloud agent.

docs.github.com/en/account-and-profile/reference/profile-contributions-referencedocs.github.com/en/copilot/concepts/security-governance-and-network-settings/risks-and-mitigationsdocs.github.com/en/account-and-profile/how-tos/contribution-settings/troubleshooting-missing-contributionsdocs.github.com/en/pull-requests/how-tos/commit-changes/creating-a-commit-with-multiple-authors
Answered live from GitHub & Hugging Face · anthropic/claude-haiku-5.5 · 10/30/2026

Ask your own open-source question →