Skip to content

Commit

Permalink
set gitpod remote url correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Feb 12, 2024
1 parent 974d295 commit eddfff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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\//[email protected]:/' | sed 's/\/$/.git/')
git remote set-url origin $(echo $GITPOD_WORKSPACE_CONTEXT | jq -r .repository.cloneUrl | sed -E 's|^.*.com/(.*)$|[email protected]:\1|')
vscode:
extensions:
Expand Down

0 comments on commit eddfff5

Please sign in to comment.