Skip to content

Commit

Permalink
fix .gitignore not tracking existing folders (#5946)
Browse files Browse the repository at this point in the history
* fix .gitignore not tracking existing folders

fix .gitignore so that the files that are in the repository are actually being tracked.

Everything in the data/ folder is ignored, which also means the subdirectories are ignored. Fix so that the subdirectories and their contents are still tracked.

* Remove data/trainings

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
  • Loading branch information
pasmai and glenn-jocher committed Dec 10, 2021
1 parent c45f9f6 commit 922fbd8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
storage.googleapis.com
runs/*
data/*
!data/hyps/*
data/images/*
!data/*.yaml
!data/hyps
!data/scripts
!data/images
!data/images/zidane.jpg
!data/images/bus.jpg
!data/*.sh
Expand Down

0 comments on commit 922fbd8

Please sign in to comment.