Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 307 Bytes

git.md

File metadata and controls

15 lines (14 loc) · 307 Bytes

Cherry-pick multiple commits

To cherry-pick all the commits from A to B, where A is older than B, run:

git cherry-pick A^..B

If you want to ignore A itself, run:

git cherry-pick A..B

Undo uncorrect amend

source: https://stackoverflow.com/a/1459264

git reset --soft HEAD@{1}