75

Senior Dev at work told me to cherry pick commits from another branch....later found out that it is an actual git command ! 😅

git cherry-pick <commmit>

Comments
  • 9
    Cherry pick is immensely useful if you've managed to commit on the wrong branch!
  • 4
    Woa..thanks.I also just learnt this command exists from this rant
  • 7
    My favourite git command is git bisect. Check it out. Really useful for bugfixing.
  • 2
    @CrashOverride thats awesome! Didnt know that one. Could have saved me quite some time doing that manually...
  • 1
    @CrashOverride will surely try this one...seems magical almost 😯
  • 0
    I recently discovered this command. It's my favorite hahahha.
  • 0
    rebase -i and cherry-pick are the best inventions since sliced bread.
  • 1
    @Zaphod65 Also bufixes, when you have multible version branches.
  • 0
    Reflog and cherry-pick are two great heroes from git universe.
Add Comment