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

Preconfigured with Cursor
Search for templates
Quick add:
Selected1
Cursor
Selected Templates (1)
.gitignore
2 rules
### Cursor ###
.cursorignore
.cursorindexingignore
4 lines•UTF-8
Deterministic

Raw Cursor .gitignore

Crawlable upstream source template
cursor.gitignore•3 lines•UTF-8
.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.