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
gitg I cannot see mounted SAMBA network share.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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
git clone ~/git/mnt/repo.git/
Another way to do this would be to clone gvfs user-mounts
git clone /run/user/<username>/gvfs/path_to_repo/repo.git
This avoids mounting issues