Skip to content
ai-agent2 active rulesVerified 2026-09-30

Cursor .gitignore Template

Cursor AI editor workspace cache and indexing files. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.

Interactive Stack Generator

Open in Full Generator
Search for templates
Quick add:
Selected1
Cursor
Selected Templates (1)
.gitignore
### Cursor ###
.cursorignore
.cursorindexingignore
2 rules1 template4 lines
Deterministic

Raw Cursor .gitignore

Crawlable upstream source template
cursor.gitignore3 lines
.cursorignore
.cursorindexingignore

Key Pattern Breakdown

Core Ignored Rules

Primary upstream ignore rules defined for this technology.

.cursorignore.cursorindexingignore

Source & Verification

License:: CC0-1.0

Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.