From 6350a5b86f74985b71040947a86998863d8862fb Mon Sep 17 00:00:00 2001 From: jasonchenwork Date: Mon, 19 May 2025 15:03:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9ignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index b704a83..a4b0a0f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,17 +1,27 @@ +# 忽略特定檔案 DualScreenSetup.exe Superstar.mdf Superstar_log.ldf -.vs build.bat *.exe -bin/* -obj/* secondary_graph.grf primary_graph.grf -txt/* -themes/* -sounds/* -publish/* -news/* -foods/* -db/* \ No newline at end of file + +# 忽略 VS 開發過程產生的資料夾 +.vs/ +bin/ +obj/ + +# 忽略整個資料夾 +txt/ +themes/ +sounds/ +publish/ +news/ +foods/ +db/ + +# 但保留 themes/superstar/_www 底下的所有內容 +!themes/superstar/ +!themes/superstar/_www/ +!themes/superstar/_www/**