diff options
| -rw-r--r-- | gitconfig | 2 | ||||
| -rwxr-xr-x | tools/swap-protocol.bash (renamed from tools/swap-protocol.sh) | 2 |
2 files changed, 3 insertions, 1 deletions
| @@ -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 |
| 16 | done | 16 | done |
| 17 | |||
| 18 | git remote -v | ||