commit 7cc2676

hovercats  ·  2024-02-19 02:52:49 +0000 UTC
parent 5d4de45
home: add
1 files changed,  +10, -0
+10, -0
 1@@ -0,0 +1,10 @@
 2+#!/bin/sh -eu
 3+
 4+upstream="$HOME/src/selfmade/dotfiles"
 5+
 6+[ -e "$upstream/HEAD" ] || {
 7+	mkdir -p "$upstream"
 8+	git clone --bare git@github.com:hovercats/dotfiles "$upstream"
 9+}
10+
11+git --git-dir="$upstream" --work-tree="$HOME" "$@"