1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

多分最強の .gitignore

Last updated at Posted at 2025-12-21

はじめに

.gitignore を毎回毎回設定するのが大変なのでなんでも使えそうなのを作りました。

たぶん最強の .gitinore

ミスがあったら教えてください。

.gitignore
# os / editor
.DS_Store
Thumbs.db
*.swp
*.swo
.idea/
.vscode/

# log
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# frontend frameworks
.vite/
.next/
.nuxt/
.svelte-kit/

# node
node_modules/
dist/
build/
out/
*.tsbuildinfo
.env
.env.*
!.env.example

# py
__pycache__/
*.py[cod]
*$py.class
.venv/
venv/

# test / coverage
coverage/
.nyc_output/

# ai
.serena/
.cursor/
.copilot/

# misc
.cache/
.tmp/
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?