view a diff without the +\n+\n+ etc..
# print a git diff on a file between two commit hashes # pipe to cut and `-c` is chars `2-` to 2 from beginning then to end. git diff <sha 1> <sha 2> foo/bar/file | cut -c 2-