Created
May 18, 2014 20:29
-
-
Save jamiees2/6fd9805fb58fc0329c21 to your computer and use it in GitHub Desktop.
Set a git repository to its ssh version
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
git remote set-url origin $(echo "[email protected]:<TEAM>/$(git remote -v | grep -oh "[^/]*\.git" | head -n1)") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment