logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git

stagit-new (169B)


  1. #!/bin/sh -e
  2. repo="$1"
  3. git init --bare "/git/${repo}.git"
  4. echo "https://hacktivis.me/git/${repo}.git" > "/git/${repo}.git/url"
  5. rm -fr "/git/${repo}.git/hooks/*.sample"