i'm learning git following book "progit 2nd edition".
in section discussing "git log -l", author mentioned
i understand string between '/ /' treated regular expression, wondering ,/^}/ there for?
i had query git log -l '/mymethodname/':myjavafilename , worked expected. why did author included ,/^}/?
/pattern1/,/pattern2/ defines range of lines between 2 patterns.
/^}/ means line starts }

Comments
Post a Comment