Re: Git Community Book
- From
Christos Τrochalakis <yatiohi@ideopolis.gr>
- Date
- Sep 6, 2008, 18:26 UTC
- Message-ID
- <f7b87f7c0809061126y17f6b601iaeb9a3661c914391@mail.gmail.com>
- In-Reply-To
- <d411cc4a0809051208k2a15c4a7te09a6979929e52f7@mail.gmail.com>
On Fri, Sep 5, 2008 at 10:08 PM, Scott Chacon <schacon@gmail.com> wrote:
Show 6 quoted lines
> Hey all, > > I just wanted to let those of you who are interested know that I've > been making a lot of progress on the Git Community Book > (http://book.git-scm.com) > ...
Hello Scott!
Nice book, I just started reading it and I have a recommendation to make, at "Chapter 4: Git Treeishes" you write
--------- http://book.git-scm.com/4_git_treeishes.html Range
Finally, you can specify a range of commits with the range spec. This will give you all the commits between 7b593b5 and 51bea1 (where 51bea1 is most recent), excluding 7b593b5 but including 51bea1:
7b593b5..51bea1
This will include every commit since 7b593b:
7b593b.. ---------
This in not quite correct. "commits between A and B" cannot really apply here. I believe that "commits reachable from B and not from A" is more precise. Actually you are already using the "reachability" explanation at the start of "Chapter 3: Basic usage".
This issue is also described at the rev-parse man page.
Apart from that, you could also include "a...b" syntax for completeness.
-christos