gitolite破碎:拉不可能

时间:2012-01-31 19:58:44

标签: git gitolite

一些在Windows和* nix之间传递unicode字符的文件名引起了一些古怪的gitolite。

这导致文件无法被忽略/从缓存中删除,这使得合并/变基不可能。我将包含文件的目录添加到.gitignore并将其从缓存中删除。推送后,gitolite遇到了一些问题:

remote: U (a bunch of files that were removed from the repo)
remote: Pull is not possible because you have unmerged files.
remote: Please, fix them up in the work tree, and then use 'git add/rm <file>'
remote: as appropriate to mark resolution, or use 'git commit -a'.

在拥有repo副本的计算机上,所有内容似乎都像往常一样,但我想解决此消息。我的第一个直觉是直接对gitolite服务器进行一些更改,但我不确定这是正确的行动方案。

1 个答案:

答案 0 :(得分:2)

该错误看起来更像是一个远程钩子,试图将更改(从本地推送)转换为另一个似乎在工作副本中具有未合并更改的仓库。

找到您正在推送的仓库中的钩子(可能是收货后),看看它正在做什么并修复它或修复正在操作的其他仓库。