Read more

Git: See more context in a diff

Henning Koch
October 13, 2016Software engineer at makandra GmbH

Using the -U parameter you can change how many lines are shown above and below a changed section.

Illustration online protection

Rails professionals since 2007

Our laser focus on a single technology has made us a leader in this space. Need help?

  • We build a solid first version of your product
  • We train your development team
  • We rescue your project in trouble
Read more Show archive.org snapshot

E.g. git diff -U10 will show 10 lines above and below.

Posted by Henning Koch to makandra dev (2016-10-13 13:38)