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/
|
# Whitelist-only: игнорируем всё в корне инстанса, кроме перечисленного ниже
|
||||||
Server/world/
|
/*
|
||||||
Server/logs/
|
|
||||||
Server/eula.txt
|
!.gitignore
|
||||||
options.txt
|
|
||||||
logs/
|
# --- Клиент (корень инстанса) ---
|
||||||
Server/crash-reports/
|
!/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