From eddfff5d9eedbe3a6ba2b384f84c1fbd09156070 Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Mon, 12 Feb 2024 23:45:33 +0000 Subject: [PATCH] set gitpod remote url correctly --- .gitpod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index 8770b757..22819ea3 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -87,7 +87,7 @@ tasks: [[ ! -z $GITCONFIG ]] && echo $GITCONFIG | base64 -d > ~/.gitconfig && chmod 644 ~/.gitconfig - git remote set-url origin $(echo $GITPOD_WORKSPACE_CONTEXT_URL | sed 's/https:\/\/github.com\//git@github.com:/' | sed 's/\/$/.git/') + git remote set-url origin $(echo $GITPOD_WORKSPACE_CONTEXT | jq -r .repository.cloneUrl | sed -E 's|^.*.com/(.*)$|git@github.com:\1|') vscode: extensions: