on my local git have develop branch and feature branch. in feature branch has three commit with hash code a1,a2,a3. I want to pick a2 to develop branch so i did
- git checkout develop
- git cherry pick a2
=> fatal: Unknown commit pick
- I wrong something ?
The command you're looking for is git cherry-pick a2.
Note there's a dash between cherry and 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