Is it possible to setup a git server on FVDW and use a special shared directory for the git files?
If so, please can you help me set this up?
cd /direct-usb/fvdw/addons
tar -xvf git-server.tar
root@fvdwsl-5big2:/ # git --version
git version 2.9.5
root@fvdwsl-5big2:/ # git --help
usage: git [--version] [--help] [-C <path>] [-c name=value]
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p | --paginate | --no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
These are common Git commands used in various situations:
'git help -a' and 'git help -g' list available subcommands and some
concept guides. See 'git help <command>' or 'git help <concept>'
to read about a specific subcommand or concept.
root@fvdwsl-5big2:/ #
root@LaCie:/share/1100/homes/bob/test # git clone /share/1100/repos/sites/test.git .
Cloning into '.'...
warning: You appear to have cloned an empty repository.
done.
git clone ssh://root@192.168.1.210/share/1100/repos/sites/test.git .
Cloning into '.'...
sh: git-upload-pack: not found
fatal: Could not read from remote repository.
root@LaCie:/share/1100/homes/bob/test # which git-upload-pack
/usr/local/bin/git-upload-pack
So that would mean you tried t do it from your laptop: commands sent from a terminal on your laptop (localhost)BobBobBob wrote:This works when cloning on the NAS, but if I try and clone a repository on my computer from the NAS, it fails:
- Code: Select all
git clone ssh://root@192.168.1.210/share/1100/repos/sites/test.git .
Cloning into '.'...
sh: git-upload-pack: not found
fatal: Could not read from remote repository.
git clone root@192.168.1.210:/share/1100/repos/sites/test.git .
git clone ssh://root@192.168.1.210/share/1100/repos/sites/test.git .
Cloning into '.'...
sh: git-upload-pack: not found
fatal: Could not read from remote repository.
Return to Lacie 5Big Network vs1
Users browsing this forum: No registered users and 3 guests