Update .gitignore to allow specific directories and files for client and server while ignoring everything else in the instance root
This commit is contained in:
+39
-7
@@ -1,7 +1,39 @@
|
||||
saves/
|
||||
Server/world/
|
||||
Server/logs/
|
||||
Server/eula.txt
|
||||
options.txt
|
||||
logs/
|
||||
Server/crash-reports/
|
||||
# Whitelist-only: игнорируем всё в корне инстанса, кроме перечисленного ниже
|
||||
/*
|
||||
|
||||
!.gitignore
|
||||
|
||||
# --- Клиент (корень инстанса) ---
|
||||
!/config/
|
||||
!/mods/
|
||||
!/resourcepacks/
|
||||
!/shaderpacks/
|
||||
|
||||
!/manifest.json
|
||||
!/minecraftinstance.json
|
||||
!/modlist.html
|
||||
!/PupaMLupa.json
|
||||
!/TLauncherAdditional.json
|
||||
!/.curseclient
|
||||
|
||||
!/config/**
|
||||
!/mods/**
|
||||
!/resourcepacks/**
|
||||
!/shaderpacks/**
|
||||
|
||||
# --- Сервер ---
|
||||
!/Server/
|
||||
|
||||
/Server/*
|
||||
!/Server/config/
|
||||
!/Server/mods/
|
||||
!/Server/install_java.ps1
|
||||
!/Server/install_java.sh
|
||||
!/Server/start.bat
|
||||
!/Server/start.ps1
|
||||
!/Server/start.sh
|
||||
!/Server/variables.txt
|
||||
!/Server/manifest.json
|
||||
|
||||
!/Server/config/**
|
||||
!/Server/mods/**
|
||||
|
||||
Reference in New Issue
Block a user