culTest

    One of the 100 questions in this topic

    How much do you know about Git and Version Control?

    What is an orphan commit in Git?

    Answers

    A commit without a message
    A commit without changes
    A commit without a parentCorrect
    A deleted commit

    An orphan commit in Git is a commit that has no parent, meaning it is not connected to previous history. It is typically used to start a new history in a branch, such as a gh-pages branch disconnected from the main code.