38 questions
1 vote
0 answers
31 views
Can git-daemon disallow shallow fetches?
I'm operating a public mirror site where the git daemon is occasionally hogging memory and CPU. I've traced down to some AOSP repos where object pack files can go as large as 50 GB each. The systemd ...
4 votes
1 answer
3k views
Why do git commands just return 'error: daemon terminated'
I run git add . and then it does nothing for a while, and then says error: daemon terminated. This happens with all commands, not just git add How do I fix that? git status does show a bit of ...
0 votes
1 answer
318 views
download files from remote server using git protocol
is it possible to download files from a remote server running git-daemon? or how to download files from git:// server like downloading files using curl from http:// server? the server is running this ...
0 votes
0 answers
198 views
Docker container with git-daemon keeps stopping
Not sure whether it's my misunderstanding of docker, git-daemon, general linux-fu or all of the above, but having set up one inside the other I'm noticing that the container will run for around 20 ...
3 votes
2 answers
1k views
How to git push from Git for Windows client to git-daemon running on ubuntu
I want to eventually run a git server on a Raspberry Pi but for now I am testing on ubuntu (running on VirtualBox VM). My development machine is Windows 7 64 bit and running Git For Windows v2.32.0....
1 vote
1 answer
477 views
How to git clone bare remote git repository on another host
I have ubuntu running on a virtual box guest with IP address 192.168.0.92 and I can ping this computer from my host running Windows 7. I can also ping the other way from ubuntu to windows. In ubuntu ...
2 votes
0 answers
294 views
Cannot clone repo from git daemon
Noob question. I can't really clone a very basic repo which I am serving through a daemon. On one terminal cd /repos $ git daemon --export-all --reuseaddr --informative-errors --verbose [12680] Ready ...
1 vote
1 answer
585 views
Git daemon clone fatal error in sideband demultiplexer and read error invalid argument
I'm trying to figure out git daemon. I have seen many posts and threads including Stack Overflow questions regarding this issue, however none of the solutions helped me. The repo is 100% not ...
1 vote
1 answer
82 views
Aborting "git push" - open git-daemon-export-ok.19906 failed: Permission denied at pathto/gitolite.pm line 115
I am using gitolite and now I am not able to push some changes / new files to the repository. I made no changes on permission's and I worked not on the git scripts. Do you hav an idea which reason ...
1 vote
0 answers
379 views
git is unable to clone over LAN using `git daemon`
I have tried to clone my repo from another Windows PC over LAN. Other post about fatal: read error: Invalid argument didn't give me any solutions. On the server $ git daemon --base-path=/c/Users/...
2 votes
3 answers
1k views
git daemon over ssh - fatal: protocol error: bad line length character: SSH-
I'm created user "gitproxy" on the server side, added my ssh key to its authorized keys and trying to work with git daemon over ssh: gitproxy:~$ git daemon --port=2222 --verbose but have the error: ...
9 votes
1 answer
22k views
How to access the Host's machine's localhost 127.0.0.1 from docker container
I hosted Git daemon on local host i.e. '/usr/bin/git daemon --listen=127.0.0.1 --base-path=/opt' as a systemd service and I am trying to access it from docker container. I didn't mentioned the port ...
8 votes
1 answer
2k views
git server hosting using git:// protocol, unable to set SO_KEEPALIVE, no such file or directory
I'm on Windows using git version 2.12.2. I ran the following command within a git bash shell: $ git daemon --reuseaddr --verbose --informative-errors --base-path=/c/ /c/ On another git bash shell, on ...
2 votes
1 answer
401 views
How to determine SSH fingerprint of client for usage in Git hook
I've got a Git update hook which checks if the branch being updated is master and if so, sends an error message to the client. I now would like to make it so only pushes to master which I myself make ...
1 vote
1 answer
750 views
git daemon with LFS?
Is it possible to use git daemon with a repository that has LFS setup on it? I have a machine that isn't able to connect to my corporate VPN (no Linux client), and I must share a repository with it to ...