Skip to content

Commit 5b53b9a

Browse files
committed
Add .gitattributes for line ending normalization and update .gitignore to refine ignored files
1 parent ab378e3 commit 5b53b9a

File tree

2 files changed

+22
-25
lines changed

2 files changed

+22
-25
lines changed

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Set default behavior to automatically normalize line endings
2+
* text=auto

.gitignore

+20-25
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,30 @@
1+
# Ignore eveything so repository can be used in game instance
2+
/*
3+
4+
# Add directories with soure code
5+
!config/
6+
!defaultconfigs/
7+
!kubejs/
8+
!mods/panorama/
9+
!scripts/
10+
!panoramas/
11+
12+
# Add files in main directory
13+
!LICENSE
14+
!README.md
15+
!panorama.dat
16+
!.gitignore
17+
!.gitattributes
18+
119
# Specific exclusion
220
config/embeddium-fingerprint.json
321
config/embeddium-options.json
422
config/embeddium++.toml
523
config/fml.toml
6-
config/jei/recipe-category-sort-order.init
724
config/oculus.properties
825
config/emi.css
926

10-
config/jei/world/
27+
config/jei/*
1128
config/worldedit/
1229

1330
config/badmobs-common.toml
@@ -17,26 +34,4 @@ config/mysticalagradditions-common.toml
1734
config/mysticalagriculture-common.toml
1835
config/sgjourney-common.toml
1936
config/defaultworldtype/client-config.toml
20-
config/jei/jei-client.ini
21-
config/jei/jei-colors.ini
22-
config/jei/jei-debug.ini
23-
config/jei/jei-mod-id-format.ini
24-
config/skyblockbuilder/data/dimensions.txt
25-
26-
# Ignore eveything so repository can be used in game instance
27-
*
28-
29-
# Add directories with soure code
30-
!config/
31-
!defaultconfigs/
32-
!kubejs/
33-
!mods/panorama/
34-
!scripts/
35-
!panoramas/
36-
37-
# Add files in main directory
38-
!LICENSE
39-
!README.md
40-
!panorama.dat
41-
!.gitignore
42-
37+
config/skyblockbuilder/data/dimensions.txt

0 commit comments

Comments
 (0)