Sometimes I may look through the git log for some lost code only in commits.
eg: search some code like XXX
using git log -p -S XXX
, but the output may have leading +/-, I want to hide them to copy the code directly to my project, since the + code is green, - code is red, I can easily distinguish them.
Thanks for any other way to copy code from git log easily.