• Protocol: http
  • Server Name: <ServerName>
  • Port Number: 90
  • Repositories: <RepositoryName>
  • Repository Type: bare (git init –bare)
  • Repository Root: D:\GIT_Repositories
  • Apache Config File – D:\Program Files (x86)\Apache Software Foundation\Apache2.2\conf\httpd
  • Apache users file: D:\Program Files (x86)\Git\ApacheConfig\users
  • Add User through Apache – D:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin\htpasswd “D:\Program Files (x86)\Git\ApacheConfig\users” <UserName>
  • httpd.config
  • git remote – Add/Set remote connection
  • $ git clone http://<UserName&gt;:<Passwd>@<ServerName>:90/<RepositoryName>
  • $ git pull http://<UserName&gt;:<Passwd>@<ServerName>:90/<RepositoryName>
  • $ git push http://<UserName&gt;:<Passwd>@<ServerName>:90/<RepositoryName>
Advertisements