.gitignore 生成器

根据项目模板和自定义规则创建 .gitignore 文件。

已选模板

语言 / 运行时

框架

工具 / 编辑器

操作系统

添加自定义规则

结果 (.gitignore)

文件名 15 · 扩展名 1 · 文件夹 6

# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
dist/
build/
.env
.env.local
.env.*.local
coverage/
*.tsbuildinfo

# Next.js
.next/
out/
next-env.d.ts

# VS Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
.Spotlight-V100
.Trashes
所有工具都在浏览器中运行,文件不会上传到服务器。