Skip to content

Commit 01f2581

Browse files
making sure necessary folders are not ignored by gitignore main file
1 parent f6d82fe commit 01f2581

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

.gitignore

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,2 @@
11
.env
2-
venv/
3-
4-
# Ignore all files in the assets, result, and downloads directories
5-
assets/*
6-
result/*
7-
downloads/*
8-
9-
# But keep the directories themselves
10-
!assets/
11-
!result/
12-
!downloads/
2+
venv/

assets/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

downloads/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

result/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

0 commit comments

Comments
 (0)