[NFBCS] Managing Pull Requests on Github with Screenreader

Brian Buhrow buhrow at nfbcal.org
Wed Apr 1 20:55:43 UTC 2020


	hello Tim.  The command is diff, That's d i f f.
What Joe is talking about is called a unified diff and is created when you
use the -u flag to diff.  For unified diffs, new lines begin with a "+"
sign and old lines begin with a "-" sign.  Unmarked lines are context
around the change so you can more easily figure out where the change is
happening.  There is also the diff -c flag, which stands for contextual
diff.  It's similar to the unified diff, but only shows the old lines if
they're modified, not if they're deleted.  If you haven't spent much time
with this command, I highly recommend that you do.  Using diff makes it
very easy to compare different files, especially large ones, and figure out
what's changed even when you don't think anything has.  In combination with
the sort and uniq commands, dif is an excellent way to detect differences
in directory listings, csv files, and a host of other kinds of data.  It's
also worth noting that diff, sort and uniq are just ordinary Unix/Linux
commands and in no way depend on git, though you can use them with git
tools.

Hope that helps.
-thanks
-Brian






More information about the NFBCS mailing list