Git'拒绝提取'错误

时间:2015-06-29 15:11:04

标签: git fetch egit

我不确定发生了什么,但此命令过去一直存在。我有一个名为refactorizacion的分支签出。如果我运行命令git fetch,它似乎工作正常(没有显示错误),但如果我运行git fetch origin refactorizacion:refactorizacion,它会给我以下错误:

fatal: Refusing to fetch into current branch refs/heads/refactorizacion of non-bare repository
Unexpected end of command stream

这也导致eclipse中的Team > Synchronize Workspace egit命令显示错误:

Fetch operation failed
Synchronization will be continued based on data that are currently in repository.
You can disable fetching changes before synchronization in preferences: Team > Git > Always launch fetch before synchronization

0 个答案:

没有答案