Whenever I rungit init
, the following pops up:
error: chmod on /mnt/c/Users/91827/Desktop/Test/Project/Mynew/.git/config.lock failed: Operation not permittedfatal: could not set 'core.repositoryformatversion' to '0'
However, simultaneously a .git folder is created in the respective directory. Now, when I type git status
, following is the message:
fatal: not a git repository (or any parent up to mount point /mnt)Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
PS : I use Windows 10 and all of this is performed in Ubuntu terminal. Please help