git致命:从另一个远程服务器提交时对象错误
我有两个远程回购的情况:git致命:从另一个远程服务器提交时对象错误,git,Git,我有两个远程回购的情况: my-repo -master -mybranch (branch-to-cherry-pick-to) other-repo -master (branch-to-cherry-pick-from) 所以我想从另一个remotes master分支中获得一些樱桃枝,然后进入mybranch 我通过执行以下操作添加了另一个遥控器:git add remote other origin somegitrepo,并使用git remote-v进行了验证,结果
my-repo
-master
-mybranch (branch-to-cherry-pick-to)
other-repo
-master (branch-to-cherry-pick-from)
所以我想从另一个remotes master分支中获得一些樱桃枝,然后进入mybranch
我通过执行以下操作添加了另一个遥控器:git add remote other origin somegitrepo
,并使用git remote-v
进行了验证,结果如下所示:
origin my-repo (fetch)
origin my-repo (push)
other-origin other-repo (fetch)
other-origin other-repo (push)
现在,当我尝试git cherry pick commitnr
时,我得到了fatal:bad object
错误
顺便说一句,我想挑选的承诺是:
我还做了git获取--all
这里有什么问题?在
获取之后,您是否错过了合并
尝试:
$ git pull
$ git cherry-pick ...