Created
October 15, 2019 08:13
-
-
Save glasslion/c04e9f12aef16697c9d87ee3a6fc7689 to your computer and use it in GitHub Desktop.
将 repo 转为 git
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 -v | head -1 |awk '{ print $2 }' | sed 's/https:\/\//git remote set-url origin git@/g' | sed 's/.com\//.com:/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment