Skip to content
other8 個の有効ルール2026-09-30 検証済み

Go.AllowList (Golang) .gitignore テンプレート

Standard Go.AllowList (Golang) gitignore template from upstream github/gitignore collection. 公式GitHubリポジトリの最新パターンと決定論的に統合され、パッケージディレクトリ、一時ビルド成果物、ローカル環境ファイルをクリーンに保ちます。

スタック統合ジェネレーター

フルジェネレーターで開く
Search for templates
クイック追加:
選択中1
Go.AllowList (Golang)
選択されたテンプレート (1)
.gitignore
8 ルール
### Go.AllowList (Golang) ###
# Allowlisting gitignore template for GO projects prevents us
# from adding various unwanted local files, such as generated
# files, developer configurations or IDE-specific files etc.
#
# Recommended: Go.AllowList.gitignore
# Ignore everything
*
# But not these files...
!/.gitignore
!*.go
!go.sum
!go.mod
!README.md
!LICENSE
# !Makefile
# ...even if they are in subdirectories
!*/
25 行•UTF-8
決定論的パイプライン

生ソース: Go.AllowList (Golang) .gitignore

クローラブルな公式アップストリーム原典
golang-goallowlist.gitignore•24 lines•UTF-8
# Allowlisting gitignore template for GO projects prevents us
# from adding various unwanted local files, such as generated
# files, developer configurations or IDE-specific files etc.
#
# Recommended: Go.AllowList.gitignore
# Ignore everything
*
# But not these files...
!/.gitignore
!*.go
!go.sum
!go.mod
!README.md
!LICENSE
# !Makefile
# ...even if they are in subdirectories
!*/

主要除外パターンの解説

主要除外ルール

この技術向けに定義された主要な除外パターン。

*!/.gitignore!*.go!go.sum!go.mod!README.md他 +2 件

ソース元とライセンス検証

ライセンス:: CC0-1.0

このファイルをプロジェクトのルートディレクトリに .gitignore というファイル名で配置してください。新規および未追跡ファイルに即座に反映されます。