Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2795

Not able to properly create git repository

$
0
0

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


Viewing all articles
Browse latest Browse all 2795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>