Question: Getting 'git diff' to generate /usr/bin/diff output

2016-07-16 Thread norm
I am trying to learn how to use git, and am having difficulty using 'git diff'. I can't deal with its output very well. What I would really like to do is apply /usr/lib/diff. Would some kind soul be willing to tell me if there is a way to do that, short of making a backup copy of the relevant file

Re: Question: Getting 'git diff' to generate /usr/bin/diff output

2016-07-17 Thread norm
writes: > >The other replies covered how to use the system's own diff instead. >Just curious: What makes using git diff difficult and its output hard to >deal with for you? In decreasing importance order: I am 84 years old. I have been using /usr/bin/diff for more than four decades. And having t

Re: Question: Getting 'git diff' to generate /usr/bin/diff output

2016-07-19 Thread norm
Johannes Schindelin writes: > >A better method might be to use the `git difftool` command, e.g. > >git difftool -x diff Something like: git difftool --no-prompt --extcmd=diff or like: git difftool --no-prompt --extcmd="diff -b" "$@" works great for me. Thank you very much indeed! Norman

Getting the "message" given a branch designation and conversely

2016-08-14 Thread norm
I am learning how to use git. I would like to know how: Given a branch's designation, such as "master~4", how can I see the message I furnished when I created the branch using "git commit"? Conversely, given the message I furnished to "git commit", when I created a branch, how can I see the branc

Editing a typo in the message given to "git commit"

2016-08-21 Thread norm
I am learning how to use git. I would like to know: How can I correct a typo in the message I gave to an old "git commit"? I see that the typo occurs in exactly two files in .git: .git/logs/refs/heads/master .git/logs/HEAD /usr/bin/file says that they are both ASCII English text. So I could just