diff options
| author | xyz <gky44px1999@gmail.com> | 2021-09-21 19:18:38 -0700 |
|---|---|---|
| committer | xyz <gky44px1999@gmail.com> | 2021-09-21 19:18:38 -0700 |
| commit | 33891b84d7760349b8ecf0a77ded20c2f304df38 (patch) | |
| tree | 1d849cab071efe7675e1c661fcc2dfdf80ac38bc /.local/bin/gitfork | |
| parent | c41ca8daabb1b5979db274782e5bd32516cf60d1 (diff) | |
cd ... || exit instead of exit 1
Diffstat (limited to '.local/bin/gitfork')
| -rwxr-xr-x | .local/bin/gitfork | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/gitfork b/.local/bin/gitfork index e9b9d2a6..cefc4f68 100755 --- a/.local/bin/gitfork +++ b/.local/bin/gitfork @@ -1,7 +1,7 @@ #!/bin/sh git clone "$1" -cd "$(basename "$1" .git)" || exit 1 +cd "$(basename "$1" .git)" || exit git remote add upstream "$2" git branch fly git checkout fly |
