stagit-new (297B)
- #!/bin/sh -e
- # SPDX-FileCopyrightText: 2017-2022 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
- # SPDX-License-Identifier: MPL-2.0
- repo="$1"
- git init --bare "/git/${repo}.git"
- echo "https://hacktivis.me/git/${repo}.git" > "/git/${repo}.git/url"
- rm -fr "/git/${repo}.git/hooks/*.sample"