How to get a surrounding commits for diff

24 views
Skip to first unread message

Igor Korot

unread,
Apr 4, 2022, 12:45:29 PM4/4/22
to git-for-windows
Hi, ALL,
I have a quick question.

I am able to search the history and find the commits I'm interested in with "git log --grep=<phrase>.

What I'd like to know if there is a command that will give me a surrounding commits.
I want to do a "git diff" to refresh my memory...

Or I'm ot of luck and the only way possible is to run git log and visually search for those commits?

Thank you.

P.S.:
I tried to send an E-mail from the GMail web interface, but got a weird reply:

[quote]
<g...@vger.kernel.org>: host 23.128.96.18[23.128.96.18] said: 550 5.7.1
    Content-Policy reject msg: The message contains HTML subpart, therefore we
    consider it SPAM or Outlook Virus.  TEXT/PLAIN is accepted.! BF:<U
    0.497884>; S1377345AbiDDOfg (in reply to end of DATA command)
[/quote]

There was no HTML in the body (at least I didn't write any) and it was not sent with
Outlook.



Reply all
Reply to author
Forward
0 new messages