Friday, March 22, 2019

How a function changed from beginning - git trick




Come across this nice git trick  to know how a function evolved:

git log -L :<Function_name>:<Filename>


So,  it start with the first edition of the function followed by all changes done within the function.

No comments:

Post a Comment