Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
Description
I wanted to follow a perfectly normal and feasible scenario: check out an old commit, to test for comparison.
Trying that resulted in a warning that scared the SHlT out of me:
"Checking out this commit will create a detached HEAD, and you will no longer be on any branch (unless you subsequently create a new one)."
I only dared to move on after searching the web about this action, and making an extra backup.
This is unnecessary and even WRONG.
The warning should tell what COULD happen, and how to avoid that.
It got even WORSE when I RETURNED to the previous head, without any changes.
"You are about to leave a detached HEAD and your current commit isn't reachable by others branches, which means they will not appear in the log after this action."
That sounds asif a disaster has ALREADY happened.
Please give more sensible and CORRECT warnings, without unnecessary SCARING people and WASTING their time.