Trying to initialize a git repository and receive error -
fatal: cannot stat '.../.git/description': Not a directory.
So I do 'ls -a' and see that it created my .git folder, but it's empty. So I figure it out, and go inside it and create a directory called "description". Then I climb out of the .git folder back into my project folder, and attempt git init again. This time it gives me the same error with a different directory name (since it found 'description', i assume). So I try the same thing with that folder. Upon my next attempt, I get the same error regarding yet another missing folder. Now I don't know too much about what's supposed to be in the .git folder, but I have come to the conclusion that I am not supposed to be responsible for the creation of these subfolders within .git... Anyone know what may be wrong? Below is my .gitconfig file's contents:
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[core]
askpass = git-gui--askpass
I found this question, but the OP here just didn't know how to view the .git folder: git init will not create git directories for me
I have not found anything else directly relating to my issue yet.
EDIT: Just confirmed that git init works in directories on my C:/ drive. This issue arises on my F:/ drive, which is a network drive. Could this be the issue?
OS: Windows 10 Git: git version 2.20.1.windows.1
Info I've found so far on how my F: drive is mounted, though I'm not sure yet what it means:
F:\>df
Filesystem 1K-blocks Used Available Use% Mounted on
C:/Users/di203179/AppData/Local/Programs/Git 124418044 94816860 29601184 77% /
F: 18253611008 14182661885 4070949124 78% /f
N: 16106127360 10468462200 5637665160 65% /n
F:\>mount
C:/Users/di203179/AppData/Local/Temp on /tmp type ntfs (binary,noacl,posix=0,usertemp)
C:/Users/di203179/AppData/Local/Programs/Git on / type ntfs (binary,noacl,auto)
C:/Users/di203179/AppData/Local/Programs/Git/usr/bin on /bin type ntfs (binary,noacl,auto)
C: on /c type ntfs (binary,noacl,posix=0,user,noumount,auto)
F: on /f type cifs (binary,noacl,posix=0,user,noumount,auto)
N: on /n type cifs (binary,noacl,posix=0,user,noumount,auto)