❓I'm trying to cherry-pick a commit from a branch that's two commits ahead of master, but the command yields this error:
❌fatal: bad revision '[commit hash]'
What's going on? 🤒
— Wat is cherry pick
— Git cherry pick 😮
— Can we use extra space or do we have to do it in constant space? Becaue if we are allowed to have extra space, we can make a hash map for the frequency of elements and then remove the ones with frequency ==1? If not please do let us know the right approach.