Git blame from the command line.
Command format:
git blame -L<LINE_NUMBER>,+<NUMBER_OF_LINES> [<COMMIT>] -- <FILE>
Git blame a file:
git blame -L100,+10 -- file.txt
Git blame on a specific commit:
git blame -L100,+10 fe25b6d^ -- file.txt
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Git blame from the command line. Command format: git blame -L<LINE_NUMBER>,+<NUMBER_OF_LINES> [ <COMMIT> ] -- <FILE> Git blame a file: git blame -L100,+10 -- file.txt Git blame on a specific commit: git blame -L100,+10 fe25b6d^ -- file.txt
Git blame from the command line.
Command format:
git blame -L<LINE_NUMBER>,+<NUMBER_OF_LINES> [<COMMIT>] -- <FILE>
Git blame a file:
git blame -L100,+10 -- file.txt
Git blame on a specific commit:
git blame -L100,+10 fe25b6d^ -- file.txt
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.