Common

Git .dockerignore

.dockerignore for common projects

View on GitHub

.dockerignore Content

# ============================================================================
# Created by https://dockerignore.com/
# COMMON PATTERNS TEMPLATE for Git
# Website: https://dockerignore.com/
# Repository: https://github.com/ronald2wing/.dockerignore
# ============================================================================

# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# TEMPLATE OVERVIEW & USAGE NOTES
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# • TEMPLATE TYPE: COMMON PATTERNS TEMPLATE
# • PURPOSE: Git version control system patterns for all projects
# • DESIGN PHILOSOPHY: Modular Git patterns for combination with other templates
# • COMBINATION GUIDANCE: Combine with language or framework templates as needed
# • SECURITY CONSIDERATIONS: Git files don't contain sensitive data but should be excluded
# • BEST PRACTICES: Use to exclude Git-related files from Docker builds
# • OFFICIAL SOURCES: Docker best practices for version control exclusion

# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# GIT-SPECIFIC PATTERNS
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
# Git version control system files and directories

**/.git-crypt/
**/.git-rewrite/
**/.git/
.git-blame-ignore-revs
.git/*
.gitattributes
.gitconfig
.gitcredentials
.gitignore
.gitkeep
.gitmodules
.gitreview

Note: This file is fetched from GitHub and cached for 7 days.