From f4c4550e327d9090c82a735d39d104d0bedb602d Mon Sep 17 00:00:00 2001 From: Benjamin Chausse <benjamin@chausse.xyz> Date: Sun, 30 Mar 2025 01:00:51 -0400 Subject: Loads of laptop shit --- .local/bin/gsetup | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 .local/bin/gsetup (limited to '.local/bin/gsetup') diff --git a/.local/bin/gsetup b/.local/bin/gsetup new file mode 100755 index 0000000..3684fb1 --- /dev/null +++ b/.local/bin/gsetup @@ -0,0 +1,9 @@ +#!/bin/sh + +repo="$1" +[ -z "$repo" ] && repo="$(basename "$(pwd)")" + +git remote set-url origin "ssh://chausse.xyz/$repo" +git remote set-url --add --push origin "ssh://chausse.xyz/$repo" +git remote set-url --add --push origin git@github.com:ChausseBenjamin/$repo + -- cgit v1.2.3