You can:
git clone http://your-server-name/repository-name.gitappsettings.json file.RepositoryPath key with the new path.This feature was removed because the repository is linked to the database, and a simple switch could cause issues. If there is a strong reason to change the repository folder, it’s best to do this while the server is not running and make the change consciously in the appsettings.json file.
This is a common issue for Windows 8 users. To resolve it:
If you experience issues while using SSL and pushing large repositories, increase the variable sizes as described above in the “Cloning Error - RPC failed” section. If that doesn’t help, apply the following Microsoft patch: (KB2634328).
To resolve these issues, run the following commands:
%windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/handlers
%windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/modules
This error occurs when the git client doesn’t receive a proper git stream as a response from the server. This typically indicates a server-side issue.
To diagnose the error, check the server log. With Kestrel it is written to the console; on IIS enable stdoutLogEnabled="true" in web.config and look in the logs folder of the installation.
This error often relates to the size of the request. To resolve this, try increasing the following values:
On your client, run:
git config http.postBuffer [desired size], try 524288000 (500MB).
In your web.config, increase:
<requestLimits maxAllowedContentLength="[desired size]">, try 1073741824 (1GB).
Note: The server itself accepts requests up to 100 MB.
Gibbon Git Server provides the following environment variables to help manage access via git hooks:
AUTH_USER: The username used to log in. This variable will be empty if the operation (e.g., clone, push, pull) was done anonymously.REMOTE_USER: Same as AUTH_USER.AUTH_USER_TEAMS: A comma-separated list containing all the teams the user belongs to.AUTH_USER_ROLES: A comma-separated list containing all the roles assigned to the user.AUTH_USER_DISPLAYNAME: This displays the user’s full name (Given Name + Surname), if available. Otherwise, it will display the username.Important Note: Due to the way HTTP basic authentication works, if anonymous operations (such as push or pull) are enabled, the variables mentioned above will always be empty. This means that you won’t be able to retrieve the user details for anonymous requests.