From 786f2b691d208fed1ac06c6765a215cf97d72c0c Mon Sep 17 00:00:00 2001 From: xyz Date: Sat, 18 Dec 2021 17:29:26 -0800 Subject: readd gitsetup --- home/xyz/.local/bin/gitsetup | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 home/xyz/.local/bin/gitsetup (limited to 'home') diff --git a/home/xyz/.local/bin/gitsetup b/home/xyz/.local/bin/gitsetup new file mode 100755 index 00000000..56f91d76 --- /dev/null +++ b/home/xyz/.local/bin/gitsetup @@ -0,0 +1,6 @@ +#!/bin/sh + +git clone "$1" +cd "$(basename "$1" .git)" || exit +git remote add upstream "$2" +git checkout fly -- cgit v1.2.3-70-g09d2