简体   繁体   English

致命的:找不到存储库'https://github.com/user_name/first_app.git/'

[英]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.

相关问题 是什么导致“致命:未找到存储库'https://github.com/bemyhre/my_web.git/'”错误 - What is causing “fatal: repository 'https://github.com/bemyhre/my_web.git/' not found” error Github 远程:未找到存储库。 致命:在 Pycharm 中找不到存储库“https://github.com/org/repo.git/” - Github remote: Repository not found. fatal: repository 'https://github.com/org/repo.git/' not found in Pycharm 远程:未找到存储库。 Git pull 显示致命:使用访问令牌时未找到存储库“https://github.com/username/repositoryname.git/” - remote: Repository not found. Git pull shows fatal: repository 'https://github.com/username/repositoryname.git/' not found when using access token 从 Matlab 推送本地 git 存储库失败:您无法推送到 git://github.com/user/repo.git 使用 https://github.com/user/repo.git - Pushing local git repository from Matlab fails: You can't push to git://github.com/user/repo.git use https://github.com/user/repo.git 致命:无法访问“https://github.com/SOME_NAME/SOME_PROJECT.git/”:请求的网址返回错误:403 - fatal: unable to access 'https://github.com/SOME_NAME/SOME_PROJECT.git/': The requested URL returned error: 403 Windows git bash: git clone https://github.com/... results with fatal: working tree... already exists - Windows git bash: git clone https://github.com/... results with fatal: working tree ... already exists 无法访问“https://github.com/user name/projectName.git/”:SSL 证书问题:证书链中的自签名证书 - unable to access 'https://github.com/user name/projectName.git/': SSL certificate problem: self signed certificate in certificate chain 致命:拒绝 git 凭据后,“https://github.com/myrepo/frontend/”的身份验证失败 - fatal: Authentication failed for 'https://github.com/myrepo/frontend/' After denying git credentials Windows10 git clone https://github.com/ktbyers/netmiko” 致命错误 - Windows10 git clone https://github.com/ktbyers/netmiko&#8221 Fatal error 致命:无法访问“ https://github.com/MyName/MyRepo.git/”:请求的URL返回错误:403 - fatal: unable to access 'https://github.com/MyName/MyRepo.git/': The requested URL returned error: 403
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM