From 01efda71988928ebd5ba20e35944cf8b9c802b80 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Tue, 9 Jan 2024 06:24:52 -0800 Subject: Move most shell scripts to a separate repo fsh --- home/xyz/.local/bin/gitfork | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100755 home/xyz/.local/bin/gitfork (limited to 'home/xyz/.local/bin/gitfork') diff --git a/home/xyz/.local/bin/gitfork b/home/xyz/.local/bin/gitfork deleted file mode 100755 index 9736c4cd..00000000 --- a/home/xyz/.local/bin/gitfork +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -git clone "$1" -cd "$(basename "$1" .git)" || exit -git remote add upstream "$2" -if ! git checkout fly; then - git branch fly - git checkout fly - git push --set-upstream origin fly -fi -- cgit v1.2.3-70-g09d2