Skip to content

Commit 3a54924

Browse files
authored
Chore: Optimize .gitignore (XTLS#5029)
1 parent 573300b commit 3a54924

1 file changed

Lines changed: 31 additions & 9 deletions

File tree

.gitignore

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,23 @@
1111
# Output of the go coverage tool, specifically when used with LiteIDE
1212
*.out
1313

14-
# Dependency directories (remove the comment below to include it)
15-
# vendor/
16-
1714
# macOS specific files
18-
*.DS_Store
15+
.DS_Store
1916

20-
# IDE specific files
17+
# IDE/editor specific files
2118
.idea/
2219
.vscode/
20+
*.swp
21+
*.swo
2322

24-
# Archive files
23+
# Archives and compressed files
2524
*.zip
2625
*.tar.gz
26+
*.tar
27+
*.gz
28+
*.bz2
2729

28-
# Binaries
30+
# Go build binaries
2931
xray
3032
xray_softfloat
3133
mockgen
@@ -36,11 +38,31 @@ errorgen
3638
*.dat
3739

3840
# Build assets
39-
/build_assets
41+
/build_assets/
4042

4143
# Output from dlv test
4244
**/debug.*
4345

44-
# Certificates
46+
# Certificates and keys
4547
*.crt
4648
*.key
49+
50+
# Dependency directories (uncomment if needed)
51+
# vendor/
52+
53+
# Logs
54+
*.log
55+
56+
# Coverage reports
57+
coverage.*
58+
59+
# Node modules (in case of frontend assets)
60+
node_modules/
61+
62+
# System files
63+
Thumbs.db
64+
ehthumbs.db
65+
66+
# Other common ignores
67+
*.bak
68+
*.tmp

0 commit comments

Comments
 (0)