Hi. My project’s disk space is full and I am not entirely sure how to fix it. I’ve tried running git prune and git gc but it says fatal: Not a git repository (or any parent up to mount point /app) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
I use sqlite and from reading posts about similar issues I understand that I need to gitignore the sqlite files, but when i try to edit my .gitignore file, the project reconnects and I am unable to edit it.
Can you try running ls -laSh and pasting it in a code block? Example:
total 74K
-rw-r--r-- 1 David 197121 17K Feb 18 13:37 package-lock.json
-rw-r--r-- 1 David 197121 2.0K Feb 19 09:52 README.md
-rwxr-xr-x 1 David 197121 1.4K Feb 18 19:48 cli.js*
-rw-r--r-- 1 David 197121 1.2K Feb 18 13:43 generator.js
-rw-r--r-- 1 David 197121 1.1K Feb 18 21:02 LICENCE.MD
-rw-r--r-- 1 David 197121 890 Feb 19 09:36 parser.js
-rw-r--r-- 1 David 197121 798 Feb 19 09:54 package.json
-rw-r--r-- 1 David 197121 755 Feb 18 20:07 index.js
-rw-r--r-- 1 David 197121 502 Feb 18 13:46 test.js
-rw-r--r-- 1 David 197121 14 Feb 18 20:59 .gitignore
drwxr-xr-x 1 David 197121 0 Feb 18 21:02 ./
drwxr-xr-x 1 David 197121 0 Feb 20 20:05 ../
drwxr-xr-x 1 David 197121 0 Feb 19 10:30 .git/
drwxr-xr-x 1 David 197121 0 Feb 18 13:37 node_modules/
As many times, the sqlite file isn’t always the problem.
This same thing happened to me, and when this happens, I can usually access the console.