Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
config/git
cron
daemon
dot
fonts
inetd
io
man
package
README.md
ngircd.conf
ngircd.motd
twt

README.md

I am moving from Github to my own git server

How to self-host a git repo:

ssh you@your-server.com 'mkdir -p git/new-repo.git && git -C git/new-repo.git init --bare'

That's it! :D You can now clone with:

git clone you@your-server.com:git/new-repo.git

For public access:

ssh you@your-server.com 'git daemon --base-path="git" --export-all &'

Now anyone can clone with:

git clone git://your-server.com/new-repo.git