How I push Django database sqlite3 and media folder on github for production server
The problem occurs when I delete the db.sqlite3 and media on .gitignore file. and write add command git add -A. the error comes fatal:adding files fail
PS C:\Users\user\OneDrive - Education Department, Government of Punjab\Desktop\Django demos\Blog> git add -A
error: read error while indexing media/uploads/23/09/21/web_extol_college.jpg: Invalid argument
error: media/uploads/23/09/21/web_extol_college.jpg: failed to insert into database
error: unable to index file 'media/uploads/23/09/21/web_extol_college.jpg'
fatal: adding files failed