git - Get changed line numbers on GitHub commits -


when go repo on github , click on 1 of commits, apart commit message, website shows changed source files blue areas (+) additions red (-) deletions. want able same thing programmatically. is, have cloned repo computer , want go cloned dir , git diff commit# or output changed source files , changed line numbers. have spent quite time looking solutions online , there none workable me! suggestions please?

nb: there git diff --stat or --numstat, etc. give changed files , number of changes. want specific line numbers. seems git diff doesn't have options outputting that.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -