Reputation: 2113
If i'm looking at the log messages and select one specific commit to view the diff is it possible to revert (or reverse appply) a specific hunk of that commit? I know there is a revert commit option but i'm only interested in one small part of it.
Thanks in advance.
Upvotes: 6
Views: 1067
Reputation: 73246
Yes, and it's the same key-binding whether it's a commit, a file, a hunk, or a marked region. Just type v with the thing in question highlighted, and Magit will prompt you accordingly.
Upvotes: 5