From 7cf778dced6be1e7a1e364bd72898a499ab801a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=2E=20R=C3=B8dseth?= Date: Tue, 5 Nov 2024 15:18:08 +0100 Subject: [PATCH] Ignore more files --- .gitignore | 51 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 45 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 0266d8e..1d18c06 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,49 @@ +# Binaries for programs and plugins +*.exe +*.dll +*.so +*.dylib +*.test +*.out + +# Object files and cached files +*.o +*.a *.bak + +# Build directories +bin/ + +# Logs and temp files *.log -*.o -*.swp -*.tar.gz *.tmp -fstab -fstab.txt -fstabfmt +*.swp +*.bak +*.log +.DS_Store + +# Ignore editor or IDE directories +.idea/ +.vscode/ +*.iml + +# cmd directory: ignore everything except Go source files and documentation +cmd/*/* +!cmd/*/*.go +!cmd/*/*.txt +!cmd/*/*.md +!cmd/*/*.rst +!cmd/*/*.asciidoc +!cmd/*/*.1* + +# images not in img/ +*.bmp +*.gif +*.jpeg +*.jpg +*.png +*.webp +!img/* + +# Orbiton include.txt file include.txt