Cherry-pick Commit
Looking for: $ARGUMENTS
- Search for the commit:
git log --all --oneline | grep -i "$ARGUMENTS" | head -10
- Show the matching commits and ask which one to cherry-pick (if multiple).
- Show the diff of the selected commit:
git show <hash> --stat
- Confirm with user, then:
git cherry-pick <hash>
- If conflicts arise, list them and ask how to proceed.
- Report success: which commit was applied and what changed.