From fe1c48178e265544ef3691eb048a306944628483 Mon Sep 17 00:00:00 2001 From: yihong Date: Fri, 28 Feb 2025 15:07:39 +0800 Subject: [PATCH] Refa: better gitignore (#5473) ### What problem does this PR solve? when develop ragflow local there would be a hash file generate that is kind of not good for develop this patch add a regex to `.gitignore` for better developing ### Type of change - [x] Refactoring Signed-off-by: yihong0618 --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 07765cf0e..e5b7170cf 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,6 @@ sdk/python/dist/ sdk/python/ragflow_sdk.egg-info/ huggingface.co/ nltk_data/ + +# Exclude hash-like temporary files like 9b5ad71b2ce5302211f9c61530b329a4922fc6a4 +*[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]*