An open API service indexing awesome lists of open source software.

https://github.com/linezero/GitServer

ASP.NET Core Git HTTP Server
https://github.com/linezero/GitServer

asp-net-core aspnetcore git git-server gitserver netcore

Last synced: about 1 month ago
JSON representation

ASP.NET Core Git HTTP Server

Awesome Lists containing this project

README

        


# GitServer

ASP.NET Core 开发Git HTTP Server

设置

```
"GitSettings": {
"BasePath": "D:\\Git",
"GitPath": "git"
}
```

需要先安装Git,并确保git 命令可以执行

GitPath 可以是 git 的绝对路径,如在 Windows 下:`C:\\Program Files\\Git\\bin\\git.exe`

## 功能

### 已完成

- 创建仓库
- 浏览仓库
- git客户端push pull
- 数据库支持 SQLite、MSSQL、MySQL
- 支持用户管理仓库

### 待完成

- 仓库工单(Issue)
- 合并请求(Pull Request)
- 代码评审(Code Review)
- 在线编辑

## 开发

`git clone https://github.com/linezero/GitServer.git`

使用VS 2019 或者VS Code。

## 原理

git client => GitServer => git server

![](git-server-rpc-model.png)

## License

This project is under the [MIT License](LICENSE).