diff --git a/.gitignore b/.gitignore index 4744c2c..3c1ef39 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ -# 运行时数据与上传(勿入库) -/data/ -/uploads/ +# 运行时数据与上传(保留目录占位) +/data/* !/data/.gitkeep +/uploads/* !/uploads/.gitkeep # Composer diff --git a/data/.gitkeep b/data/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/uploads/.gitkeep b/uploads/.gitkeep new file mode 100644 index 0000000..e69de29