diff options
author | xyz <gky44px1999@gmail.com> | 2021-12-18 17:29:26 -0800 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-12-18 17:29:26 -0800 |
commit | 786f2b691d208fed1ac06c6765a215cf97d72c0c (patch) | |
tree | 27a56b1896bec36fad77f78bffc0b84b3800a890 /home | |
parent | 525838e782a4cd5abfa9ec2e17d9c84c97d293a8 (diff) |
readd gitsetup
Diffstat (limited to 'home')
-rwxr-xr-x | home/xyz/.local/bin/gitsetup | 6 |
1 files changed, 6 insertions, 0 deletions
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 |