How to clone a git repository (BARE) from a windows7 folder to UBUNTU16.04?

2

My host system is windows7 and I have a guest system in virtualBox, Ubuntu 16.04.

I shared a folder in win7 ( sf_AA_SHARE_FOLDER ) into linux and inside it I have another folder called CHM_FINAL_BARE which is where I want to clone the files.

As you can see in the picture below, I made a clone into my vhosts/chm.test folder on my home in linux using the usual command: git clone "/home/....." chm.test

At the end of the process I get a message saying that the gist cloned an empty repository and that is not true, see photo.

Then I tried to open the gitk from within that bare repository (as I always do) and got an error message that can not find HEAD, which usually happens when the folder is empty.

That is, it seems that linux git is not able to see what's inside the windows7 folder.

Can anyone tell me how to clone this repository, if at all possible?

    
asked by anonymous 14.08.2016 / 02:15

0 answers