Setting up an development enviroment in Linux and Windows VMs

git (GitKraken)

this is rather a side theatre of war but as I wasted some hours on it I share it here

If you install GitKraken from the Ubuntu Software Center it installs the snap package what wasn’t listed in in the Software Center anymore so I opend the terminal and did sudo snap remove gitkraken and installed it again.
Next I had to fix GitKraken icon missing - snap - snapcraft.io.
It turned out that snap package comes with limitations, you cannot use a network share to store the repo on the host to save space or allow to edit it on the host as well, doing only the build in the VM.
see

so you have to install it like this sudo snap install --devmode gitkraken, see

as that option shown in

is not given.

So far so bad.
After all this I tried several approaches, linking and mounting, fighting with smb shares
see Git clone/pull across local network what is definitely not a good idea.
If you mount it via terminal you fighting with permission, see how-tos

or you use Nautilus and find teh mount as described here

but if you want to clone into this folder, it won’t work as it rename the lockfile
grafik
I tried

but none worked.
At the end, I cloned it on the host but opened it in the VM. It worked only when I did a symbolic link to a folder in a shared-drives, what comes with the Enhanced Mode.
grafik
But even that is not perfect, as it says all files changed.

May it works if you install GitKaken as app using the standard installer but even when I do this, I get complains, that it is read only, so I think smb network shares between hyper-v and Linux are not perfect