更新代碼時報錯,如下:
branches to build:
service
1.get branch service to dir service
only update code
Your account has been blocked.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git clone failed
解決方案:
第一步 在本地重新生成私鑰
指令:ssh-keygen -t rsa -b 2048 -C “[email protected]”
第二步 将新生成的公鑰拷貝到github上

第三步重新設定下遠端url
git remote set-url origin 遠端倉庫位址
如:$ git remote set-url origin ssh://[email protected]:50022/innovation/xxxxx.git