Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

AI Guard .gitignore

A deny-list .gitignore to keep AI agent instructions out of repositories.

This project provides a strict .gitignore that prevents AI coding agents and editors from adding repository-scoped instruction files, rules, or configuration artifacts to version control.

Usage

  • Copy the contents of .gitignore from this repository into your own .gitignore (merge or replace as needed).
  • If any of these files are already tracked by git, .gitignore will not remove them. You must untrack them manually, for example:
git rm --cached AGENTS.md CLAUDE.md GEMINI.md opencode.json
git rm --cached -r .github/agents .cursor .continue .windsurf .roo .junie .amazonq

What This Ignores

This deny-list covers instruction and configuration files used by common AI agents, including but not limited to:

License

The Unlicense

About

A deny-list .gitignore to keep AI agent instructions out of repositories.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors