From 691eacf5dac597a401fbe493367fa55d484c4c20 Mon Sep 17 00:00:00 2001 From: Florian Beisel Date: Wed, 17 Jan 2024 22:09:43 +0100 Subject: [PATCH] chore: add gitignore This commits adds a .gitignore file which will prevent committing of: * Files referenced in Go.gitignore * VisualStudioCode specific files (.vscode, ...) * Windows specific files (ie thumbs.db) * SQLite Databases --- .gitignore | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c327c4d --- /dev/null +++ b/.gitignore @@ -0,0 +1,74 @@ +#################### Go.gitignore #################### + +# 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~ +*.dll +*.so +*.dylib + +# Test binary, built with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE +*.out + +# Dependency directories (remove the comment below to include it) +# vendor/ + +# Go workspace file +go.work + +#################### VisualStudioCode.gitignore #################### + +.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 + +#################### Windows.gitignore #################### + +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +#################### Custom.gitignore #################### + +# add your custom gitignore here: +!.gitignore +!.gitsubmodules + +# sqlite database +*.db \ No newline at end of file