summaryrefslogtreecommitdiff
path: root/init-repo.sh
diff options
context:
space:
mode:
authora73x <[email protected]>2024-08-25 10:04:00 +0100
committera73x <[email protected]>2024-08-25 10:04:00 +0100
commit597b4b5f2d26d30beebc1a4ab529835f76655fee (patch)
treecd5c86d0ecdfec1bc8d2e053de9db25fe182aef8 /init-repo.sh
parent911a7dc7296f76a5de0538b3c3536167a89195d8 (diff)
move git repos into repo folder
Diffstat (limited to 'init-repo.sh')
-rw-r--r--init-repo.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/init-repo.sh b/init-repo.sh
deleted file mode 100644
index 29cab4e..0000000
--- a/init-repo.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-REPO_DIR="/git-server/repos/$1"
-if [ ! -d "$REPO_DIR" ]; then
- mkdir -p "$REPO_DIR"
- cd "$REPO_DIR"
- git init --bare
-fi