2017-11-23 9 views
1

からコミット私は2つのリモートリポジトリとこのような状況を持っている:のgit:悪いオブジェクトチェリーピックは、別のリモート

my-repo 
    -master 
    -mybranch (branch-to-cherry-pick-to) 

other-repo 
    -master (branch-to-cherry-pick-from) 

ので、私は他のリモートからのいくつかのチェリーピックを取得したいがmybranchに枝を習得します。

私が実行して別のリモートを追加しました:私はgit cherry-pick commitnrしようとすると、

origin my-repo (fetch) 
origin my-repo (push) 
other-origin other-repo (fetch) 
other-origin other-repo (push) 

は、今私はfatal: bad object エラーを取得:このように私の出力を示しgit add remote other-origin somegitrepogit remote -vで確認を。私は桜にしたい

コミットはところで選ぶ:https://github.com/wekan/wekan/pull/1003/commits

を、私もここでの問題は何git fetch --all

をしましたか?

答えて

0

fetchの後にmergeが見つかりませんでしたか?

試してみてください。

$ git pull 
$ git cherry-pick ... 
関連する問題