Documentation: @{-N} can refer to a commit
commit75d6e552a8f289fb0ee606a7bdfceace6df93bb3
authorThomas Rast <tr@thomasrast.ch>
Sun, 19 Jan 2014 07:01:15 +0000 (19 08:01 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Jan 2014 21:50:00 +0000 (21 13:50 -0800)
tree0df0521684eceeae01a28f603f9189a552700ad8
parentac930287ff16823531b541a8e6a7436279e612be
Documentation: @{-N} can refer to a commit

The @{-N} syntax always referred to the N-th last thing checked out,
which can be either a branch or a commit (for detached HEAD cases).
However, the documentation only mentioned branches.

Edit in a "/commit" in the appropriate places.

Reported-by: Kevin <ikke@ikke.info>
Signed-off-by: Thomas Rast <tr@thomasrast.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-checkout.txt
Documentation/revisions.txt