aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gitconfig2
-rwxr-xr-xtools/swap-protocol.bash (renamed from tools/swap-protocol.sh)2
2 files changed, 3 insertions, 1 deletions
diff --git a/gitconfig b/gitconfig
index 5418f98..cd29063 100644
--- a/gitconfig
+++ b/gitconfig
@@ -9,7 +9,7 @@
9 git stash apply stash@{1} && \ 9 git stash apply stash@{1} && \
10 git stash show -p | git apply -R && \ 10 git stash show -p | git apply -R && \
11 git stash drop stash@{1} 11 git stash drop stash@{1}
12 swapprotocol = !swap-protocol.sh 12 swapprotocol = !swap-protocol.bash
13 13
14[core] 14[core]
15 pager = tig 15 pager = tig
diff --git a/tools/swap-protocol.sh b/tools/swap-protocol.bash
index 03594f8..a70e7fe 100755
--- a/tools/swap-protocol.sh
+++ b/tools/swap-protocol.bash
@@ -14,3 +14,5 @@ git remote -v \
14 sed -E 's#https://([^/]+)/(.+)#git@\1:\2#' <<<$url | xargs git remote set-url $extra $remote 14 sed -E 's#https://([^/]+)/(.+)#git@\1:\2#' <<<$url | xargs git remote set-url $extra $remote
15 fi 15 fi
16done 16done
17
18git remote -v