From 77bc4bbfc94cb187759ca39f45d4ce16d461e985 Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Mon, 18 Jul 2022 17:06:12 -0700 Subject: [PATCH] Add db and static directories to .gitignore * db directory in root usually holds production data and causes git to complain about not being able to read it * static directory in root holds the collected static files which are regenerated/collected at build time Signed-off-by: Alek Ratzloff --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 8990810..96d036a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ ALLOWED_HOSTS threadchat/settings.py docker-compose.yaml docker-compose.yml +db ### Django ### *.log @@ -12,6 +13,7 @@ local_settings.py db.sqlite3 db.sqlite3-journal media +static # If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/ # in your Git repository. Update and uncomment the following line accordingly.