Git blame - Figuring Out Who Modified a Line With Gitby@smpnjn
530 reads

Git blame - Figuring Out Who Modified a Line With Git

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

`git blame` lets you pick a file and show who last changed every line. To find out who changed a line, simply run the following command where `myfile.txt is the file you want to check. Other useful Git Blame options include showing an author's email and ignoring whitespace with git blame. You can also show line changes from the bottom up (just add the reverse changes in the bottom, and going up at the starting starting at at least at the end of the line, meaning starting at the bottom.

People Mentioned

Mention Thumbnail

Company Mentioned

Mention Thumbnail
featured image - Git blame - Figuring Out Who Modified a Line With Git
Johnny Simpson HackerNoon profile picture

@smpnjn

Johnny Simpson

Product, Engineering, Web


Receive Stories from @smpnjn

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!