@ 260802.2 · fetching

200426.5 · 481b64a667e8d9aca522a0455a00f32dac1f4977

initial commit of ~/bin

This brings over everything that was in my bin-only repository.

I removed scripts that were unused or were no longer understood. I also moved any work-specific scripts to a separate (private) repository.

reading declarations

Changes to bin/nas-git-create-bare. All files

bin/nas-git-create-bare

new file mode 100755@@ -0,0 +1,16 @@+#!/bin/sh++dir=/m/git+name="$1"+if [ -z "$name" ]; then+    echo "Usage: $(basename "$0") <repo-name>" >&2+    exit 1+fi++export GIT_DIR="$dir/$name"+if [ -d "$GIT_DIR" ]; then+    echo "$GIT_DIR already exists" >&2+    exit 1+fi+git init --bare --shared=group+git config --unset receive.denyNonFastforwards