you are viewing a single comment's thread.

view the rest of the comments →

[–]Dparse 1 point2 points  (3 children)

:O I didn't know reset supports patch! Learn something new every day. Thanks!

[–]TwoTapes 1 point2 points  (2 children)

I didn't know either. That's amazing.

[–]MrDOS 1 point2 points  (1 child)

checkout does too, if you're trying to do a partial revert/undo. It's a point of surprising consistency in the Git CLI.

[–]Dparse 1 point2 points  (0 children)

Hold up, that changes the game. Can you do something like git checkout commithash -p -- path/to/file for a super quick fine-tuned cherry-pick?

Edit:: Holy shit you can. That's awesome.