Git AI

What is untracked code?

Git AI stores marks the attribution for each line as either AI, human or untracked.

In each commit, Git AI keeps track of three buckets of code:

  • Known AI-generated code - generated directly (using write tool) or indirectly as the result of (bash scripts). Detected via Agent hooks
  • Known human code - lines or files written by a human in an IDE. Detected via IDE extensions
  • Untracked code - anything not attributed to AI or a known human like generated types, database migrations, IaaC.

Seeing your edits marked as untracked?

Try running git ai install and restarting your IDE. This should automatically install the IDE extension.

If that does not work, try installing the Git AI extension for your IDE manually:

EditorStatus
VS CodeSupported — Install
CursorSupported — Install
WindsurfSupported — Install
AntigravitySupported — Install
JetBrainsSupported - Install

Don't see an IDE you use? Please open an issue.