Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git cherry pick but recive fatal: Unknown commit pick

Tags:

git

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 ?
like image 912
Nguyễn VŨ Avatar asked Mar 05 '26 10:03

Nguyễn VŨ


1 Answers

The command you're looking for is git cherry-pick a2.

Note there's a dash between cherry and pick

like image 62
Christian Fosli Avatar answered Mar 07 '26 11:03

Christian Fosli



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!