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/**