相关疑难解决方法(0)

在git中推送提交时,src refspec master与any不匹配

我克隆了我的存储库:

git clone ssh://xxxxx/xx.git 
Run Code Online (Sandbox Code Playgroud)

但之后,我改变了一些文件,并addcommit他们,我想他们推到服务器:

git add xxx.php
git commit -m "TEST"
git push origin master
Run Code Online (Sandbox Code Playgroud)

但我得到的错误是:

error: src refspec master does not match any.  
error: failed to push some refs to 'ssh://xxxxx.com/project.git'
Run Code Online (Sandbox Code Playgroud)

git commit

2472
推荐指数
75
解决办法
173万
查看次数

git错误:无法推送一些引用

出于某种原因,我现在无法推动,而我昨天可以做到.也许我搞砸了一些东西.

这是发生的事情:

当我使用git push origin master时

gitbashscr

我的工作目录和远程存储库是什么样的:

在此输入图像描述

git github

368
推荐指数
22
解决办法
78万
查看次数

Git Push ERROR:未找到存储库

我有一个很奇怪的问题gitgithub.当我尝试推动时,我得到:

git push -u origin master
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
Run Code Online (Sandbox Code Playgroud)

我添加了遥控器:

git remote add origin git@github.com:account-name/repo-name.git
Run Code Online (Sandbox Code Playgroud)

有任何想法吗?

git github git-push

306
推荐指数
33
解决办法
37万
查看次数

remote:找不到存储库致命:找不到

为什么我的git不会推?我创建了存储库,我不断收到此消息:

C:\Users\petey_000\rails_projects\first_app>git push -u github master
Username for 'https://github.com': ***@gmail.com
Password for 'https://***@gmail.com@github.com':
remote: Repository not found.
fatal: repository 'https://github.com/pete/first_app.git/' not found
Run Code Online (Sandbox Code Playgroud)

git github

19
推荐指数
4
解决办法
9万
查看次数

标签 统计

git ×4

github ×3

commit ×1

git-push ×1