We have recently started using GIT for our corporate projects, one of the team member created a branch called ABC in his local Forked copy and sent me a PR in my corporate accounts ABC branch
Now as the PR contains multiple commits i just want to pick a specific commit from corporate REPO's ABC branch and merge it with development branch, so being in development branch i called below command:
git cherry-pick 504f43aea6ad7b733434ef4510f3baaf3fc10d09
but this throws error fatal: bad object 504f43aea6ad7b733434ef4510f3baaf3fc10d09
Could anyone tell me what i did wrong, long back i had tried cherry-pick and it didn't worked either that time it came out that i didn't had the commit in my remote REPO and hence it was not recognizing the commit hash, but now i have the commit in remote REPO but still same issue.