menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Productivity News

>

Git Log's ...
source image

Dev

4d

read

378

img
dot

Image Credit: Dev

Git Log's Hidden Gems: Using -S and -L for Powerful Code History Search

  • Git log has powerful search capabilities that can help track down specific code changes in a project.
  • The -S option allows you to search for commits that changed the number of occurrences of a specific string.
  • The -L option enables you to view the history of a function or line of code in a given file.
  • Both options also support regexes for more specific searches.

Read Full Article

like

22 Likes

For uninterrupted reading, download the app