Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
what error are you getting trying to clone of the git repository, and what's the command you're running? – jelmer Feb 24 '14 at 21:06

Use this manual (section 'Connecting using CIFS') to mount remote repository:

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


git clone ~/git/mnt/repo.git/
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.