Enviado em 30/03/2013 - 20:04h
Pessoal, configurei um repositório Git e ao tentar fazer comit pelo Eclipse da última parte ocorre esse erro abaixo:
Can't connect to any URI: http://192.168.1.200/repositorio.git (remote does not support smart HTTP push)
Então, alguém já teve esse erro ?
Passos que fiz
#apt-get install apache2 git-core
#mkdir /var/www/repositorio.git
#cd /var/www/repositorio.git
#git --bare init
#git update-server-info
#chown -R www-data.www-data .
#a2enmod dav_fs
/etc/apache2/conf.d/git.conf
htpasswd /opt/.passwd.git usuario2
#/etc/init.d/apache2 restart
A URL http://192.168.1.103/repositorio.git acessa normal com autenticação, mas ocorre o erro no plugin EGit do Eclipse Juno.
Can't connect to any URI: http://192.168.1.200/repositorio.git (remote does not support smart HTTP push)
Can't connect to any URI: http://192.168.1.200/repositorio.git (remote does not support smart HTTP push)
Então, alguém já teve esse erro ?
Passos que fiz
#apt-get install apache2 git-core
#mkdir /var/www/repositorio.git
#cd /var/www/repositorio.git
#git --bare init
#git update-server-info
#chown -R www-data.www-data .
#a2enmod dav_fs
/etc/apache2/conf.d/git.conf
htpasswd -c /opt/.passwd.git usuario1
<Location /repositorio.git>
DAV on
AuthName "Git access"
AuthUserFile /opt/git/.passwd.git
Require valid-user
</Location>
htpasswd /opt/.passwd.git usuario2
#/etc/init.d/apache2 restart
A URL http://192.168.1.103/repositorio.git acessa normal com autenticação, mas ocorre o erro no plugin EGit do Eclipse Juno.
Can't connect to any URI: http://192.168.1.200/repositorio.git (remote does not support smart HTTP push)