diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-03-29 17:38:58 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-02 13:56:59 +0900 |
commit | af9ded5b7007a4fa9844be7ac1c86f7a6ef2e56a (patch) | |
tree | 9d4e514308e8b02bfa08c471a14e9a6099cdacdd /t/helper/test-read-cache.c | |
parent | t: rename t2014-switch.sh to t2014-checkout-switch.sh (diff) | |
download | tgif-af9ded5b7007a4fa9844be7ac1c86f7a6ef2e56a.tar.xz |
checkout: advice how to get out of detached HEAD mode
Detached HEAD mode is considered dangerous and confusing for newcomers
and we print a big block of warning how to move forward. But we should
also suggest the user the way to get out of it if they get into detached
HEAD by mistake.
While at there, I also suggest how to turn the advice off. This is
another thing I find annoying with advices and should be dealt with in a
more generic way. But that may require some refactoring in advice.c
first.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-read-cache.c')
0 files changed, 0 insertions, 0 deletions