Git: See more context in a diff

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

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

Henning Koch Over 7 years ago