See the History of a Method with git log -L
10-Nov-2023 769
Git can “trace the evolution” of a specific method when passed -L using the : variant. Let’s take a look at the history of this blog’s posts’ published scope, which is used in most places that articles are listed out. You can see that git is able to identify the boundaries of the method even as the length changes and it prints out the full method with diff from each commit in the log, which is filtered to changes to that method.
See the History of a Method with git log -L #ruby #rubydeveloper #rubyonrails #History #Method https://rubyonrails.ba/link/see-the-history-of-a-method-with-git-log-l