chore: update .gitignore and purge MySQL data from tracking
- Replace hand-written gitignore with Go/macOS/VSCode template - Add data/ to ignore list (MySQL binaries, redo logs, PEM certs) - Remove data/ from index to stop tracking sensitive files (ca-key.pem, client-key.pem, ibdata, binlogs, etc.) Made-with: Cursor
This commit is contained in:
parent
71a2d912e2
commit
3ddc851340
93
.gitignore
vendored
93
.gitignore
vendored
@ -1,31 +1,90 @@
|
|||||||
# Binaries
|
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
|
||||||
|
# Created by https://www.toptal.com/developers/gitignore/api/go,macos,visualstudiocode
|
||||||
|
# Edit at https://www.toptal.com/developers/gitignore?templates=go,macos,visualstudiocode
|
||||||
|
|
||||||
|
### Go ###
|
||||||
|
# If you prefer the allow list template instead of the deny list, see community template:
|
||||||
|
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
|
||||||
|
#
|
||||||
|
# Binaries for programs and plugins
|
||||||
*.exe
|
*.exe
|
||||||
*.exe~
|
*.exe~
|
||||||
*.dll
|
*.dll
|
||||||
*.so
|
*.so
|
||||||
*.dylib
|
*.dylib
|
||||||
/bin/
|
|
||||||
/output/
|
|
||||||
|
|
||||||
# Test
|
# Test binary, built with `go test -c`
|
||||||
*.test
|
*.test
|
||||||
|
|
||||||
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||||
*.out
|
*.out
|
||||||
coverage.txt
|
|
||||||
|
|
||||||
# Dependency
|
# Dependency directories (remove the comment below to include it)
|
||||||
/vendor/
|
# vendor/
|
||||||
|
|
||||||
# IDE
|
# Go workspace file
|
||||||
.idea/
|
go.work
|
||||||
.vscode/
|
|
||||||
*.swp
|
|
||||||
*.swo
|
|
||||||
*~
|
|
||||||
|
|
||||||
# OS
|
### macOS ###
|
||||||
|
# General
|
||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
|
||||||
# Env
|
# Icon must end with two \r
|
||||||
|
Icon
|
||||||
|
|
||||||
|
|
||||||
|
# Thumbnails
|
||||||
|
._*
|
||||||
|
|
||||||
|
# Files that might appear in the root of a volume
|
||||||
|
.DocumentRevisions-V100
|
||||||
|
.fseventsd
|
||||||
|
.Spotlight-V100
|
||||||
|
.TemporaryItems
|
||||||
|
.Trashes
|
||||||
|
.VolumeIcon.icns
|
||||||
|
.com.apple.timemachine.donotpresent
|
||||||
|
|
||||||
|
# Directories potentially created on remote AFP share
|
||||||
|
.AppleDB
|
||||||
|
.AppleDesktop
|
||||||
|
Network Trash Folder
|
||||||
|
Temporary Items
|
||||||
|
.apdisk
|
||||||
|
|
||||||
|
### macOS Patch ###
|
||||||
|
# iCloud generated files
|
||||||
|
*.icloud
|
||||||
|
|
||||||
|
### VisualStudioCode ###
|
||||||
|
.vscode/*
|
||||||
|
!.vscode/settings.json
|
||||||
|
!.vscode/tasks.json
|
||||||
|
!.vscode/launch.json
|
||||||
|
!.vscode/extensions.json
|
||||||
|
!.vscode/*.code-snippets
|
||||||
|
|
||||||
|
# Local History for Visual Studio Code
|
||||||
|
.history/
|
||||||
|
|
||||||
|
# Built Visual Studio Code Extensions
|
||||||
|
*.vsix
|
||||||
|
|
||||||
|
### VisualStudioCode Patch ###
|
||||||
|
# Ignore all local history of files
|
||||||
|
.history
|
||||||
|
.ionide
|
||||||
|
|
||||||
|
# End of https://www.toptal.com/developers/gitignore/api/go,macos,visualstudiocode
|
||||||
|
|
||||||
|
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)
|
||||||
|
|
||||||
|
# MySQL data directory (contains binaries, certs, and runtime state)
|
||||||
|
data/
|
||||||
|
|
||||||
|
# Environment and secrets
|
||||||
.env
|
.env
|
||||||
.env.local
|
.env.*
|
||||||
|
*.pem
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user