Skip to content

Commit

Permalink
handle git ssh if codespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
caseytomlin committed Dec 9, 2024
1 parent 4f30a09 commit 67fc361
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .chezmoiscripts/run_once_add-ssh-pk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ else
exit 0
fi

if [ -z "$CODESPACES" ]; then
git config --global url."git@github.com".insteadOf "https://github.com"
fi

0 comments on commit 67fc361

Please sign in to comment.