commit dc905efb37027c57ed2643118bd038ffb02bd74f parent 69d7bc860cbd0e794e94403131451c85e5c16a39 Author: decentral1se <decentral1se@web> Date: Sun, 29 Sep 2024 09:39:06 +0200 docs: stagit usage Diffstat:
| M | eik.mdwn | | | 13 | +++++++++++-- |
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/eik.mdwn b/eik.mdwn @@ -76,12 +76,21 @@ Git repositories are located in `/var/www/git.permacomputing.net/repos`. Any use ``` ssh USERNAME@eik \ - "git init --bare /var/www/git.permacomputing.net/repos/REPONAME" + "git init --bare /var/www/git.permacomputing.net/repos/REPONAME.git" ``` * to add a repository as a git remote (for `git push`, replacing `USERNAME` and `REPONAME`): ``` git remote add pmc \ - ssh://USERNAME@eik/var/www/git.permacomputing.net/repos/REPONAME + ssh://USERNAME@eik:/var/www/git.permacomputing.net/repos/REPONAME.git ``` + +stagit +------ + +[stagit](https://codemadness.org/stagit.html) is used to produce the staticly generated web interface that is [git.permacomputing.net](https://git.permacomputing.net). + +If you follow the instructions above ("git hosting") to add a new git repository, you then need to run `/var/www/git.permacomputing.net/update_all.sh` to regenerate the html. + +You can configure metadata for each repository in the `/var/www/permacomputing.net/repos/REPONAME.git` directory. See `man stagit` for more.