A fork of deno-git-server
A configurable git server written in Deno. With this code you can program a git-server running on deno yourself. If you are looking for a complete out-of-the-box software to run a deno git-server based on this code, you may take a look at hybriqor git repo server.
- IP whitelist now optional
- Basic auth supported
- Hand back request to parent class if accessing client is not a git client (eg a web browser)
- Display console message from server in git push console output
deno run -A --unstable GitServer.js
runs on localhost:7005
by default
make a directory and change into it, init git, create a file, make a commit, set remote origin and push.
mkdir test
cd test
git init
touch test.txt
git add .
git commit -m 'initial commit'
git remote add origin http://localhost:7005/test
git push --set-upstream origin master
or
git push http://localhost:7005/test master