git push 报错 ssh: connect to host gmail.com port 22: Network is unreachable
** 报错内容 **
ssh: connect to host gmail.com port 22: Network is unreachablefatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.
执行 git –bare init 初始话远程仓库
git --bare init
git init –bare是初始化一个裸仓库; git init 和 git --bare init区别网上有很多讲解,自行百度啦~