• Protocol: http
  • Server Name: <GitServerName>
  • Port Number: 90
  • Repository name:
    •  
    •  
  • Repository Type: bare (git init –bare)
  • Repository Root: D:\GIT_Repositories
  • 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>
  • git remote – Add/Set remote connection
  • $ git clone http://<UserName&gt;:<Passwd>@<GitServerName>:90/<RepositoryName>
  • $ git pull http://<UserName&gt;:<Passwd>@<GitServerName>:90/<RepositoryName>
  • $ git push http://<UserName&gt;:<Passwd>@<GitServerName>:90/<RepositoryName>
Advertisements