Created
April 12, 2020 19:35
-
-
Save midzer/3ceba8ad7d956e02d9e920b121d8d059 to your computer and use it in GitHub Desktop.
GitHub origin HTTPS to SSH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git remote set-url origin $(git remote get-url origin | sed 's/https:\/\/github.com\//git@github.com:/') |
Yes, it should be a POSIX-compatible shell command
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is it bash command?