![](https://cdn.prod.website-files.com/5ef654d13ecc9cf65b188b10/5f1883a24d3fe02be0d31fcb_gitLogo.jpg)
So you have been working for a while, made a few commits and realized you have been on the wrong branch this entire time. If this sounds familiar then maybe git cherry-pick is for you! Git cherry-pick allows you to pick specific commits from one branch and apply them to another branch. So next time you mess up your repo don't panic, cherry-pick!