Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 sshjgit-advice
Octocat-spinner-32 sshjgit-core
Octocat-spinner-32 sshjgit-runtime
Octocat-spinner-32 sshjgit-testsupport
Octocat-spinner-32 sshjgit-xstream
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README
Octocat-spinner-32 pom.xml
README
This project aims to be a very flexible git repo server, and should require no
specific infrastructure. All authentication and authorization is delegated to
Apache Shiro, which itself is very flexible.

Before building this project, you currently have to build Shiro from source
yourself. See http://incubator.apache.org/shiro/download.html

TODO and GOTCHAS:

If a user pushes to a git repo path which does not already have a git repo in
it, a git repo is automatically created there (given permissions check out).
That is likely not the desired behavior for all installations.

The Main class example is mildly useful on its own. A proper server config and
deployment mechanism is needed.

USING

If you want to try the server, build and boot it up. Then:

mkdir repo
cd repo
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin ssh://USERNAME@localhost:2222/repo.git
git push origin master

Something went wrong with that request. Please try again.