From b03ac4b169b0b80645b1b40b32ef7215592a9e29 Mon Sep 17 00:00:00 2001 From: baiyuansjtu Date: Wed, 16 Oct 2024 12:19:59 +0800 Subject: [PATCH] chore: update .gitignore --- backend/.gitignore | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/backend/.gitignore b/backend/.gitignore index babafdb..a884ebf 100644 --- a/backend/.gitignore +++ b/backend/.gitignore @@ -1,18 +1,12 @@ -**/__pycache__/ +# Python cache files +__pycache__/ +# Database file db.sqlite3 -## migrations +# Ignore all migration files except __init__.py +/pages/migrations/* +!/pages/migrations/__init__.py -/chat/migrations/** -!/chat/migrations/__init__.py - -/oauth/migrations/** -!/oauth/migrations/__init__.py - -/files/migrations/** -!/files/migrations/__init__.py - -## build - -build \ No newline at end of file +# Build directory +build/