Merge with Gitweb
As said, the sections to get git working over ssh, http and the git protocol should in my opinion be placed in this article.
Unless I'm mistaken, bash completion comes with git now so the instructions should be changed to simply:
Maybe note that it's also possible by installing bash-completion?
-- Xerdomii 6 May 2011
- The default
/etc/bash.bashrc(from the bash package) sources
/etc/bash_completion(optionally from the bash-completion package) if it exists. The
bash_completionscript intern sources files in
/etc/bash_completion.d/if they exist. With Arch's git package a copy of
/usr/share/git/completion/git-completion.bashends up in the
/etc/bash_completion.d/directory. So, if you have the package installed, completion for git should work automatically as soon as
- -- James Eder 13:27, 20 June 2011 (EDT)
Trying to follow the instructions to set up HTTP access, I ran into following issue:
error: Cannot access URL http://<server>/git/example/, return code 22 fatal: git-http-push failed
Acccording to http://dev.bazingaweb.fr/2011/02/23/how-to-set-up-git-over-http.html the config file on the remote repository needs to get a couple new lines:
[http] receivepack = true
After this little change it all works for me.
-- User:Gunnar 4 May 2012
Not systemd compatible
The git server are still based on rc.d. I belive this should be systemd compatible since it is the standard
-- Drvanon 6 March 2013