Skip to main content
DevTools24

.gitignore生成ツール

人気の言語とフレームワーク用のテンプレートから.gitignoreファイルを生成します。複数のテンプレートを選択して結合。

Languages

Frameworks

Operating Systems

Editors

About .gitignore

  • Select one or more templates above to generate your .gitignore
  • Templates can be combined for projects using multiple technologies
  • Place the .gitignore file in your repository root
  • Files already tracked by Git won't be ignored until you run git rm --cached

.gitignore Files - 技術的な詳細

A .gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected. Common patterns include build outputs, dependencies, environment files, and IDE settings.

コマンドラインでの代替方法

# Create a .gitignore from GitHub's collection\ncurl -sL https://www.toptal.com/developers/gitignore/api/node > .gitignore\n\n# Or use gitignore.io\ngit config --global alias.ignore '!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi'

参照

公式仕様を見る