i have this situation with two remote repos:
my-repo
-master
-mybranch (branch-to-cherry-pick-to)
other-repo
-master (branch-to-cherry-pick-from)
so i want to get some cherry-picks from the other remotes master branch into mybranch.
I have added another remote by doing: git add remote other-origin somegitrepo and verified with git remote -v which showed my output like this:
origin my-repo (fetch)
origin my-repo (push)
other-origin other-repo (fetch)
other-origin other-repo (push)
Now when i try to git cherry-pick commitnr i get the fatal: bad object
Error.
The commits i want to cherry pick btw: https://github.com/wekan/wekan/pull/1003/commits
I also did git fetch --all
What is the problem here?
Did you missed a merge after fetch?
Try:
$ git pull
$ git cherry-pick ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With