Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
61 lines (54 loc) · 2.5 KB
/
Copy path.gitattributes
File metadata and controls
61 lines (54 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# DECISIVE: GitHub excludes examples/ from language stats by default; re-include it.
examples/** linguist-vendored=false linguist-generated=false linguist-documentation=false
# ==============================================================================
# 1. FORCE EXPLICIT LANGUAGE CLASSIFICATION
# Use this if GitHub misidentifies certain file types.
# ==============================================================================
*.py linguist-language=Python
*.go linguist-language=Go
*.cpp linguist-language=C++
*.hpp linguist-language=C++
*.h linguist-language=C++
*.java linguist-language=Java
# ==============================================================================
# 2. IGNORE BUILD, DEPENDENCY, AND VENDOR DIRECTORIES
# This stops auto-generated code and packages from dominating your language bar.
# ==============================================================================
# Python exclusions
**/__pycache__/* linguist-detectable=false
**/.venv/* linguist-detectable=false
**/venv/* linguist-detectable=false
**/env/* linguist-detectable=false
**/.egg-info/* linguist-detectable=false
# Go exclusions
**/vendor/* linguist-detectable=false
# C++ exclusions
**/build/* linguist-detectable=false
**/bin/* linguist-detectable=false
**/.cmake/* linguist-detectable=false
# Java exclusions
**/.gradle/* linguist-detectable=false
**/.settings/* linguist-detectable=false
**/target/* linguist-detectable=false
# ==============================================================================
# 3. IGNORE DOCUMENTATION AND ASSETS (e.g., HTML/CSS/Markdown)
# Stops configuration or documentation files from shifting your project stats.
# ==============================================================================
**/docs/* linguist-documentation=true
*.md linguist-documentation=true
*.html linguist-detectable=false
*.css linguist-detectable=false
*.json linguist-detectable=false
*.yaml linguist-detectable=false
*.yml linguist-detectable=false
# ==============================================================================
# JEKYLL SITE CHROME & SLIDE DECKS (added) — site scaffolding, not source.
# Lets the real lead language (Java, the largest of the six) surface on the card.
# ==============================================================================
_site/** linguist-generated
_layouts/** linguist-documentation
_includes/** linguist-documentation
assets/** linguist-documentation
*.html linguist-documentation
presentation/** linguist-vendored
presentations/** linguist-vendored