.Dd October 1, 2021 .Dt NEWREPO 1 .Os .Sh NAME .Nm newrepo .Nd create a new public git repository for web hosting .Sh SYNOPSIS .Nm .Ar name .Sh DESCRIPTION .Nm creates a new repository configured with the proper .Xr stagit 1 git-hooks so that changes pushed to it are shown on .Lk https://git.garbash.com . In addition, the repository is configured for public access via the .Xr git-daemon 1 (git:// protocol). .Pp This is an interactive tool; it will prompt for a one-line description of the repository for the homepage index. .Sh FILES .Bl -tag -width "$HOME/git/.git" .It Pa $HOME/git/.git location of new bare git repository .It Pa $HOME/git a symlink to the system git directory under .Pa /var/git/$USER .El .Sh SEE ALSO .Xr git 1 , .Xr git-daemon 1 , .Xr stagit 1 .Sh HISTORY Created by ~alex upon setting up .Xr stagit 1 . The whole history is posted here: .Lk https://garbash.com/~alex/notes/007-git-coding.txt