From db02f98e44d33507cf2bfc525435f65793a1ba1e Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 23 Feb 2011 08:44:52 -0500 Subject: [PATCH] Add `git diff --word-diff` and `git name-rev` notes to Git/notes.org. --- posts/Git/notes.org | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/posts/Git/notes.org b/posts/Git/notes.org index 480ba99..ef57a62 100644 --- a/posts/Git/notes.org +++ b/posts/Git/notes.org @@ -725,6 +725,20 @@ previous commit : $ GIT_COMMITTER_DATE="2006-10-02 10:31" git tag -s v1.0.1 +** Inline word diff +[[http://mislav.uniqpath.com/2010/07/git-tips/][mislav]] + + + : $ git diff --word-diff + +** Find out if a change is part of a release + + : $ git name-rev 33db5f4d9027a10e477ccf054b2c1ab94f74c85a + : 33db5f4d9027a10e477ccf054b2c1ab94f74c85a tags/v0.99~940 + +Now you are wiser, because you know that it happened 940 revisions +before v0.99. + * Troubleshooting ** Git commit hangs with no output -- 2.26.2