Skip to content
Advertisement

Tag: git-clone

Git clone with authentication over HTTP protocol

I have a centos 7 server with a git repo shared over smart http, when I make “git push” the authentication works but when I make “git clone” not works. I want than Git and Apache ask me user and password to clone the repos. /var/www/git -> Is my repo dir /var/www/html -> Is the web sites dir My site.conf

Advertisement