[英]What is causing “fatal: repository 'https://github.com/bemyhre/my_web.git/' not found” error
I am following the instructions to try and create a remote repository and it seems I cannot for some reason from my mac. 我正在按照说明尝试创建远程存储库,但由于某些原因,我似乎无法从我的Mac中进行操作。 Any input or help would be greatly appreciated. 任何意见或帮助将不胜感激。 Below is the set of terminal commands I have been using. 以下是我一直在使用的一组终端命令。 Any thoughts? 有什么想法吗?
Bens-MacBook-Pro:week7 benmyhre$ mkdir my_web
Bens-MacBook-Pro:week7 benmyhre$ cd my_web
Bens-MacBook-Pro:my_web benmyhre$ git init
Initialized empty Git repository in /Users/benmyhre/Desktop/RubyProjects/week7/my_web/.git/
Bens-MacBook-Pro:my_web benmyhre$ touch README
Bens-MacBook-Pro:my_web benmyhre$ git ad README
git: 'ad' is not a git command. See 'git --help'.
Did you mean one of these?
add
am
Bens-MacBook-Pro:my_web benmyhre$ git add README
Bens-MacBook-Pro:my_web benmyhre$ git commit -m 'first commit'
[master (root-commit) 4e7b51d] first commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 README
Bens-MacBook-Pro:my_web benmyhre$ git remote add origin https://github.com/bemyhre/my_web.git
Bens-MacBook-Pro:my_web benmyhre$ git push origin master
Username for 'https://github.com': #myusernamewenthere
Password for 'https://bemyhre@github.com':
remote: Repository not found.
fatal: repository 'https://github.com/bemyhre/my_web.git/' not found
Make sure that the repository really exists. 确保存储库确实存在。 If you're trying to push to a repository that has not yet been created on GitHub, you'll get this error. 如果您尝试推送到尚未在GitHub上创建的存储库,则会收到此错误。 More details https://help.github.com/articles/error-repository-not-found 更多详细信息https://help.github.com/articles/error-repository-not-found
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.