我不确定发生了什么,但此命令过去一直存在。我有一个名为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