centos6上的git push错误

蝙蝠
git.exe push --progress  "origin" master:master

Counting objects: 8, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (5/5), 596 bytes | 0 bytes/s, done.
Total 5 (delta 0), reused 0 (delta 0)
remote: error: refusing to update checked out branch: refs/heads/master
remote: error: By default, updating the current branch in a non-bare repository
remote: error: is denied, because it will make the index and work tree inconsistent
remote: error: with what you pushed, and will require 'git reset --hard' to match
remote: error: the work tree to HEAD.
remote: error: 
remote: error: You can set 'receive.denyCurrentBranch' configuration variable to
remote: error: 'ignore' or 'warn' in the remote repository to allow pushing into
remote: error: its current branch; however, this is not recommended unless you
remote: error: arranged to update its work tree to match what you pushed in some
remote: error: other way.
remote: error: 
remote: error: To squelch this message and still keep the default behaviour, set
remote: error: 'receive.denyCurrentBranch' configuration variable to 'refuse'.
To (delete by me)
! [remote rejected] master -> master (branch is currently checked out)
error: failed to push some refs to (delete by me)


git did not exit cleanly (exit code 1) (3494 ms @ 2014-10-18 오후 6:20:31)

我的英语太糟糕了。

当我将代码推送到远程存储库时,上面显示了错误消息

我能做些什么???

(但是克隆到存储库不是问题)

安雅妮露·巴图拉

主要的问题是因为索引和工作树不一致要解决此问题,请检查此链接

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

centos6上的git push错误

来自分类Dev

由于Centos6上的GMP软件包版本而导致的错误

来自分类Dev

奇怪的git push错误

来自分类Dev

使用'rpm -i'在CentOS6上安装软件包,但是得到依赖项错误,即使我已经安装了依赖项,为什么?

来自分类Dev

无法在CentOS6上升级git

来自分类Dev

Redis作为CentOs6上的服务

来自分类Dev

在 Centos6 上配置 virtualenvwrapper

来自分类Dev

Maven发布插件在git push错误上显示明文密码

来自分类Dev

git push错误:src refspec main与linux上的不匹配

来自分类Dev

Git Push无法创建目录错误

来自分类Dev

Git Push Heroku Master与Rails错误

来自分类Dev

恢复git push到错误的分支

来自分类Dev

Git Push使用了错误的凭证

来自分类Dev

尝试git push时的Bitbucket错误日志

来自分类Dev

我执行git push时发生错误

来自分类Dev

Git Push rubyrails中的Heroku Master错误

来自分类Dev

$ git push cloud致命:远程错误:禁止

来自分类Dev

Git Push to Gogs 出现 403 错误

来自分类Dev

在git push上,我得到了错误:错误:无效的协议:想要'旧的新引用'

来自分类Dev

如何在CentOS6上启动/停止/刷新OpenCPU?

来自分类Dev

在Centos6上最少设置X服务器

来自分类Dev

在Centos6上安装Rmpi'找不到-lmpi'

来自分类Dev

带有Java安装问题的CentOS6上的OpenCV

来自分类Dev

如何在CentOS6上启动/停止/刷新OpenCPU?

来自分类Dev

nc 不会监听 CentOs6 上的端口

来自分类Dev

git push heroku master错误:找不到存储库

来自分类Dev

gulp-git:使用push会导致流错误

来自分类Dev

git push origin master:权限被拒绝(公钥)错误

来自分类Dev

git push错误:RPC失败;结果= 56,HTTP代码= 0

Related 相关文章

热门标签

归档