How to cherry-pick the last sha from another branch in Git with 1 command?
Just go with: $ git cherry-pick another_branch This will cherry-pick the last commit from another_branch. Branches in git are just references to the last commit in that branch, you can use them instead of commit SHAs in your commands.