Git Web Access
body
{
font-size: 14px;
font-family: "Trebuchet MS" , Verdana, Helvetica, Sans-Serif;
color: #696969;
padding: 10px 50px;
}
a:link, a:visited
{
text-decoration: none;
}
a:hover
{
text-decoration: underline;
}
Welcome to Git Web Access
Congratulations! You have successfully installed Git Web
Access.
Settings
Before start, please check the following configuration settings.
- Please make sure Git for
Windows (1.7+) is installed and the path of git executable (git.exe) is
entered in web.config.
- Please enter your git repositories' root folder that is the parent folder of all
repositories in web.config.
- Please configure the security settings. See next section.
Security
-
To authentication push and pull, change GitAuthenticationMode to All.
<add key="GitAuthenticationMode" value="All" />
- To authenticate push only, change GitAuthenticationMode to Push.
<add key="GitAuthenticationMode" value="Push" />
-
To disable authentication, change GitAuthenticationMode to None.
<add key="GitAuthenticationMode" value="None" />
OData Service Endpoint
The default OData service endpoint is GitDataService.svc. To enable a simplified
endpoint, called odata by adding the following line of code to the Global.asax.cs
file or _AppStart.cshtml file.
System.Web.Routing.RouteTable.Routes.Add(
new System.ServiceModel.Activation.ServiceRoute("odata",
new System.ServiceModel.Activation.WebServiceHostFactory(), typeof(GitDataService)));
For more information, please visit the Git Web
Access Project Site.
© Copyright 2010-2011 Yiyi Sun. All right reserved.