[英]fatal: repository 'https://github.com/user_name/first_app.git/' not found
I was trying to push my files on the github
but I am receiving this error. 我试图将文件推送到github
上,但收到此错误。 None of what they call a username works unfortunately ! 他们所谓的用户名都无法使用! Any thought? 任何想法?
Monas-MacBook-Pro:first_app mona$ git push -u origin master
Username for 'https://github.com': lamiastella
Password for 'https://lamiastella@github.com':
remote: Repository not found.
fatal: repository 'https://github.com/lamiastella/first_app.git/' not found
Monas-MacBook-Pro:first_app mona$ git push -u origin master
Username for 'https://github.com': jalal@wisc.edu
Password for 'https://jalal@wisc.edu@github.com':
remote: Repository not found.
fatal: repository 'https://github.com/lamiastella/first_app.git/' not found
Here's the list of commands I used before this command: 这是我在此命令之前使用的命令列表:
521 git init
522 git add .
523 git status
524 git commit -m "hi"
525 git status
526 git log
527 git checkout -f
528 git status
531 git remote add origin https://github.com/lamiastella/first_app.git
If you need to script the all process, including the creation of a new repo, you can have a look at " Github v3 API - create a REPO " or this gist : 如果您需要编写所有过程的脚本,包括创建一个新的仓库,您可以查看“ Github v3 API-创建仓库 ”或以下要点 :
# Test drive on a single liner
# TOKEN="xxxx" org="plone-gomobile" p=test ; curl -v -XPOST -H "Authorization: token $TOKEN" https://api.github.com/orgs/$org/repos -d '{"name": "'"$p"'"}'
curl -v -XPOST -H "Authorization: token $TOKEN" https://api.github.com/orgs/$org/repos -d '{"name": "'"$p"'"}'
Read more at " Authentication ", and note that OAuth2 tokens can be acquired programmatically , which can be helpful for your script. 请在“ 身份验证 ”中阅读更多内容,并注意可以通过编程方式获取 OAuth2令牌 ,这对您的脚本很有帮助。
I just encountered this same issue. 我刚遇到同样的问题。 In my case the problem was not with me, it was because Github is having problems with their SSH access, as it says on their status page ( https://status.github.com/ ) 就我而言,问题不在于我,这是因为Github的SSH访问存在问题,正如其状态页( https://status.github.com/ )所述。
"We are investigating problems with repository access and some GitHub.com features. We will report back once we have more information to share." “我们正在调查存储库访问和某些GitHub.com功能方面的问题。一旦我们有更多信息要共享,我们将进行报告。”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.