Skip to content
Prev Previous commit
Next Next commit
Add .gitignore to protect sensitive environment files and private keys
Co-authored-by: Kushmanmb <193178375+Kushmanmb@users.noreply.github.com>
  • Loading branch information
Copilot and Kushmanmb committed Jan 2, 2026
commit aca7dc645f79c765d142c384e1ea75042ca21694
37 changes: 37 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Environment variables and sensitive configuration files
.env
.env.*
.env.local
.env.development
.env.test
.env.production
.env.staging

# Private keys and credentials
*.key
*.pem
private-key*
*private-key*

# Infura and blockchain configuration
infura.config*
*.secrets

# Node modules and dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Build artifacts
dist/
build/
*.log

# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store