Answers for "git cambiar pull https por ssh"

1

git cambiar pull https por ssh

1, Ver dirección actual
$ git remote -v
origin  https://github.com/lyuxiaomin/dubbo.git (fetch)
origin  https://github.com/lyuxiaomin/dubbo.git (push)

2,Cambiar dirección 
$ git remote set-url origin [email protected]:lyuxiaomin/dubbo.git

3, Ver la dirección modificada
$ git remote -v
origin  [email protected]:lyuxiaomin/dubbo.git (fetch)
origin  [email protected]:lyuxiaomin/dubbo.git (push)123456789101112
Posted by: Guest on September-13-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language