Files
git/Documentation
Kaartic Sivaraam 75ce149575 Doc/checkout: checking out using @{-N} can lead to detached state
@{-N} is a syntax for the N-th last "checkout" and not the N-th
last "branch". Therefore, in some cases using `git checkout @{-$N}`
DOES lead to a "detached HEAD" state. This can also be ensured by
the commit message of 75d6e552a (Documentation: @{-N} can refer to
a commit, 2014-01-19) which clearly specifies how @{-N} can be used
to refer not only to a branch but also to a commit.

Correct the misleading sentence which states that @{-N} doesn't
detach HEAD.

Signed-off-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-11-28 11:33:12 +09:00
..
2017-09-22 14:47:41 +09:00
2016-09-12 15:03:32 -07:00
2016-07-13 11:24:14 -07:00
2016-10-10 14:03:51 -07:00
2016-10-10 14:03:50 -07:00
2016-07-13 11:24:14 -07:00
2017-01-18 15:12:12 -08:00
2016-12-19 14:45:35 -08:00
2015-07-21 14:08:14 -07:00
2016-08-11 14:35:42 -07:00
2015-10-05 12:30:13 -07:00
2017-05-05 13:33:22 +09:00
2017-01-18 15:12:18 -08:00
2017-02-02 13:36:57 -08:00