Git: See more context in a diff

Posted . Visible to the public.

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
Keywords
changes, added, deleted, modified
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2016-10-13 11:38)