git over http and the first repos push

Apache virtual host setup cat /etc/apache2/sites-enabled/git

htpasswd -c  /etc/apache2/password.dav youraccount Server side repos init mkdir -p /var/www/git/app/ git init –bare(此处为两个-) git update-server-info chown www-data.www-data -R /var/www/git/app/ Client side repos push cd d:\app edit .gitignore … Continue reading