Building a simple Git Server using Spring Boot & Jgit library
Update properties in
src/resources/git-server.properties
mvn clean compile package
java -jar target/git-server-*.jar
By default git-server is hosted on port 8080, web api for viewing files is hosted on port 8090
http://localhost:8090/swagger-ui.html
Once application starts, you can clone the default repo created with a default README.md file using your repo name.
git clone http://localhost:8080/repoName
- Host a git repo on your (local)server
- Capability to view repo over http
- Create, Clone, Push changes to the repo
- Git Push with
outcredentials Support Multiple repositoriesSimple UI for viewing repository files