feat(git): added global ignore file

This commit is contained in:
Sergio Laín 2023-12-09 19:15:18 +01:00
parent 51ac26a1ad
commit 3535d78a4e
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 81 additions and 0 deletions

View file

@ -20,6 +20,7 @@
[core]
editor = nvim
pager = diff-so-fancy | less --tabs=4 -RFX
excludesfile = /home/matt/.gitignore
[interactive]
diffFilter = diff-so-fancy --patch
[merge]

80
.gitignore vendored Normal file
View file

@ -0,0 +1,80 @@
# OS files
.DS_Store
.AppleDouble
.LSOverride
Thumbs.db
ehthumbs.db
Desktop.ini
# Editor Files
*.swp
*.swo
*.swn
*.swm
*.swl
*.swk
*.bak
*.backup
*.orig
*.ref
*~
.vscode
.idea
.iml
*.sublime-workspace
# Logs
*.log
*.sqlite
log.txt
# Generated files
build/
target/
dist/
# Sensitive files
*.env
*.key
*.pem
*.credentials
*.password
*.secret
# Scratch files
.scratch/
# PhpStorm HTTP Requests
.http/
# Temp files
tmp/
# Web files
node_modules/
npm-debug.log*
yarn-error.log*
package-lock.json
vendor/
# Compressed files
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.msi
# Compiled Python files
__pycache__/
*.pyc
# Python
*.pyc
# Rust
**/*.rs.bk
**/*.rl.bk