Questions tagged [git-daemon]
The git-daemon tag has no usage guidance.
37
questions
3
votes
1
answer
898
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
83
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
131
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
354
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
297
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
184
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
426
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
68
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
304
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:
...
8
votes
1
answer
20k
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, ...
2
votes
1
answer
334
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
606
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 ...
0
votes
0
answers
286
views
Can one push to "git://" repo from Windows?
I have a repo (on Linux machine), this repo is exposed by using git:// protocol.
I can successfully clone, fetch and push to that repo from Linux machines.
But from Windows machines a can only clone ...
12
votes
2
answers
4k
views
Git 'pre-receive' hook and 'git-clang-format' script to reliably reject pushes that violate code style conventions
Let's immediately start with a scrap of the pre-receive hook that I've already written:
#!/bin/sh
##
format_bold='\033[1m'
format_red='\033[31m'
format_yellow='\033[33m'
format_normal='\033[0m'
#...
2
votes
1
answer
931
views
Git daemon logging, how to enable it and store the logs into a file, e.g. like /var/log/git.log?
if you think that this is not the proper section of SE where to post a question like this, tell me where should I put it and I will move it.
Anyway. I have a git daemon set up on my OS X machine ...
2
votes
1
answer
524
views
Running git daemon with read only user gives "fatal: cannot drop privileges"
I am not sure if this is the right section where to post, if it is not, please tell me where should I post the following issue:
I am on a LAN with two machines: one with OS X Yosemite on it which ...
0
votes
1
answer
2k
views
git daemon, test responds "does not appear to be a git repository"
Installing git daemon for the first time. I have it running:
[todd@hqdevgit01 test.git]$ ps -ef | grep git
501 3204 1 0 10:14 ? 00:00:00 git-daemon --reuseaddr --user=gitdaemon --...
3
votes
0
answers
178
views
git daemon slow first request on ubuntu 14.04
I've got a couple of ubuntu 14.04.1 boxes running on an vmware esxi rig.
On one server I am running a git-daemon:
sudo git daemon --base-path=. --enable=receive-pack --export-all --verbose
The ...
0
votes
1
answer
85
views
Issues hosting local git repo
I've successfully set up a git repository with Cygwin on my desktop, thanks to this post.
Now, I'm having problems connecting to that repo from my laptop. Specifically, the connection times out ...
4
votes
2
answers
2k
views
Where are logs of git-daemon saved? (Git on windows using Cygwin)
I am running git-daemon as a windows service. (using Create Process)
The command used in service is:
git daemon --reuseaddr --base-path=/data/test_work/ --export-all \
--verbose --enable=receive-...
2
votes
3
answers
5k
views
Why i can use git-daemon serve my git repo?
There are some git bare repo in /home/git/repositories dir.
I use git-daemon-run serve git protocol to access these repos.
For example /home/git/repositories/root/spider.git is a bare git repo.
This ...
1
vote
1
answer
118
views
Git-daemon - how does one update cloned repo>?
I need allow anon access to a few repos. I read a few how-tos and docs on git-daemon that use the git clone clone --bare approach and serve the cloned repo, with git-daemon.
This works fine, ...
0
votes
1
answer
455
views
Installing gitorious issue
I am struggling with the installation of gitorious (on an Ubuntu 12.04 distribution) on my local server following this tutorial : http://cjohansen.no/en/ruby/setting_up_gitorious_on_your_own_server
...
3
votes
1
answer
3k
views
why my git can't push to my server by gitolite use git-daemon
when I use gitolite, ignoring git-daemon, I can do like git clone git://xxx/xxx,but when I push the project, it shows me the error:
Total 2 (delta 0), reused 0 (delta 0)
remote: Empty compile time ...
0
votes
1
answer
1k
views
Connection to Git daemon on Windows 7 getting "reset by peer" error
I'm running the Git dameon on Win7 (Ultimate - x64) from MinGW. When I first start the daemon (as in first time it runs since the last restart), I can perform any command on the server from a remote ...
9
votes
4
answers
13k
views
What is git-daemon?
What is git-daemon? Is it a default git function? I am trying to understand this so that I can host a repository on a server that people can push/pull from.
So far I am able to clone a "--bare" ...
1
vote
1
answer
2k
views
Auto start git daemon on window server
I am pretty new to Git. Trying to setup git repository in window server 2008 R2. I have finish with everything even tried to create new repository and cloning on same computer everything look good. ...
0
votes
1
answer
544
views
Why won't git-daemon serve my repositories?
I'm using git version 1.7.9 and while I've checked and double checked my configuration, I can't get the clones to work from the daemon. There's no indication of any error in /var/log/messages:
Feb 14 ...
0
votes
1
answer
158
views
How could I recover my git-daemon repositories
I had a Gitorious install that got old and it is clear now that it is not coming back. I want to recover the repos (mainly the wiki repos) from the repository. I do not want to repeat the long and ...
0
votes
1
answer
3k
views
how to use scm manager with git?
I'm just new in git and am still relying on git extension for most task.
I've search how to start git daemon in windows and found a suggestion that scm-manager may be an alternative for it.
https://...
3
votes
3
answers
11k
views
How to install git daemon on Ubuntu 10.04
I'm sharing my repository on my
Linux nozim-desktop 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 i686 GNU/Linux
and I when I run:
sudo -u git git-daemon --base-path=/home/git/...
4
votes
2
answers
3k
views
Starting git-daemon on OS X using launchd
I am trying to set up an internal git server using my OS X desktop (mostly as a test case). Everything works when SSH keys are involved, but I am currently trying to use git-daemon for read-only ...
13
votes
4
answers
6k
views
Unable to push to git Repository. It hangs after "Writing Objects: 100%"
I am running git daemon with the following command.
c:\cygwin\bin\git daemon --reuseaddr --base-path=/cygdrive/S --export-all --verbose --enable=receive-pack
I am able to clone and pull updates but ...
0
votes
3
answers
421
views
As of right now, on Windows 7, does Mercurial start up a server much simpler than Git?
On Windows 7, from reading hginit.com, it seems like it is very easy to set up a Mercurial server?
mkdir repo
cd repo
hg init
hg serve
and that's it? Now http://localhost:8000 is the server. It ...
27
votes
2
answers
25k
views
Why won't git-daemon serve my repository?
I set up .git in a directory on my local machine. I then run:
mkdir a
cd a
git init
git daemon
When I attempt to clone the repository in a, I get the following error:
mkdir b
cd b
git clone git://...