Ubuntu – Clone GIT from SAMBA network share

gitnetworkingsamba

Has anybody successfully cloned GIT repository to Ubuntu from a SAMBA network share?

I have access over file manager and can ls over command line, but cannot clone

Also, in git cola, qgit and gitg I cannot see mounted SAMBA network share.

Best Answer

Use this manual (section 'Connecting using CIFS') to mount remote repository: https://help.ubuntu.com/community/Samba/SambaClientGuide

sudo mount -t cifs //IP_ADDRESS/git/repo.git ~/git/mnt/repo.git -o username=samba_user,noexec

Then,

git clone ~/git/mnt/repo.git/
Related Question