Skip to content

Commit

Permalink
Auto-commit: 2024-01-30 16:38:51
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklehamster committed Jan 31, 2024
1 parent a18bff1 commit 4a2196b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make-repo-ssh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [[ $CURRENT_URL == https://* ]]; then
REPO_NAME=$(basename "$CURRENT_URL" ".git")

# Update the Git remote URL to use SSH
NEW_URL="git+ssh://git@github.com:$(basename $(dirname "$CURRENT_URL"))/${REPO_NAME}.git"
NEW_URL="git@github.com:$(basename $(dirname "$CURRENT_URL"))/${REPO_NAME}.git"
git remote set-url origin "$NEW_URL"

# Verify the changes
Expand Down

0 comments on commit 4a2196b

Please sign in to comment.