culTest

    One of the 100 questions in this topic

    How much do you know about Git and Version Control?

    What is a detached HEAD in Git?

    Answers

    A critical error in Git
    A state where HEAD points directly to a commit instead of a branchCorrect
    A nameless branch
    A commit without a message

    A detached HEAD is a state in Git where HEAD, the pointer that indicates where you currently are, points directly to a specific commit instead of a branch. New commits made in this state will not belong to any branch unless you create one.