Created
December 23, 2019 09:24
-
-
Save mayconvm/8ab39c4f4bb498fb1af69e9b5284b1a5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| tmp_ssh_host=$(echo $(git remote get-url origin) | sed 's/https:\/\/bitbucket.org\//[email protected]:/g') | |
| git remote remove origin && git remote add origin $tmp_ssh_host |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment