Sherman IT
Showing posts with label
last time
.
Show all posts
Showing posts with label
last time
.
Show all posts
13 October 2022
How to find who and when modified each line of a file last time, and how to find who and when added/deleted a portion of a code line of a file since the very beginning
How to find who and when modified each line of a file last time?
$ git blame -- <path/file>
How to find who and when added/deleted a portion of a code line of a file since the very beginning?
$ git log -S'blah blah' --pretty='format: %h %an %d %s'
https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-blame#:~:text=While%20git%20blame%20displays%20the,use%20the%20git%20log%20command.
Older Posts
Home
Subscribe to:
Posts (Atom)