Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chrisnharvey/simple-git-server
A simple git SSH server
https://github.com/chrisnharvey/simple-git-server
Last synced: about 4 hours ago
JSON representation
A simple git SSH server
- Host: GitHub
- URL: https://github.com/chrisnharvey/simple-git-server
- Owner: chrisnharvey
- License: mit
- Created: 2022-06-10T23:08:33.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-06-19T22:04:44.000Z (over 2 years ago)
- Last Synced: 2024-06-21T19:07:23.993Z (5 months ago)
- Language: Go
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Git Server
A simple git SSH server, with CLI tool for managing repos.
## Getting Started
```bash
docker run -d -p 22:22 -v /path/to/repos:/git/repos -v /path/to/keys:/git/keys -v /path/to/config:/etc/ssh chrisnharvey/simple-git-server:latest
```## The Admin CLI
If you SSH into Simple Git Server using the `admin` user, you will be presented with a simple shell to manage git repos.
```bash
ssh admin@localhost
```### Creating a repo
```bash
create-repo myrepo
```## Cloning a repo
```bash
git clone git@localhost:myrepo
```