I would like to add @since params to my docblocks of class methods, how I can easily find first commit that have introduced that given method in class (not last modified like with git blame ) ?
I would like to add @since params to my docblocks of class methods, how
Share
Try
git log -S'line of code here'You can enter multiple lines of code between the quotes if you wish, and customise log output in all the usual ways (
--oneline,-petc.), and the command will also work withgit diffandgit format-patch.