mirror of
https://github.com/git/git.git
synced 2025-12-18 12:00:25 +01:00
Because a tag ref cannot be put to HEAD, HEAD will become detached. This is consistent with "git checkout <tag>". This is mostly useful in shallow clone, where it allows you to clone a tag in addtion to branches. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
6.6 KiB
Executable File
6.6 KiB
Executable File