Skip to content

Instantly share code, notes, and snippets.

@fukurouzhong
Last active April 6, 2017 05:47
Show Gist options
  • Save fukurouzhong/695b6f4ae3edbd5a8648f1b9e7e6b09a to your computer and use it in GitHub Desktop.
Save fukurouzhong/695b6f4ae3edbd5a8648f1b9e7e6b09a to your computer and use it in GitHub Desktop.
ssh: connect to host https port 22: Operation timed out
## push文件到github时的问题
fukurous-MacBook-Air:AngularJS-starter fukurou$ git push -u origin master
ssh: connect to host https port 22: Operation timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
##解决
重新create了一个repo,没有initialize with a readme.file就没有出现这个问题。
参考:
https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
@bhardwajankit9
Copy link

how to solve this issue when i am uploading project on githu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment