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 money motivation

Opscomplete powered by makandra brand

Save money by migrating from AWS to our fully managed hosting in Germany.

  • Trusted by over 100 customers
  • Ready to use with Ruby, Node.js, PHP
  • Proactive management by operations experts
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)