RSS Amplifier

(untitled) · Jan 20, 2016

How to blame in git

0
Sign in to vote or save

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

Read on miguelmota.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.