I tried reverting to a previous git commit with:
git revert xxx
I\'m now receiving this error as a response:
fatal: bad object
git pull
OR
git fetch origin
Reason: If the commit id which you are trying to cherry pick is not available in your local git, then there is a possible of this error.
Doing a git pull
will fix this. If this hasn't been fixed, ask the person who has shared the commit id to push the change to origin
and do a git pull