culTest

    One of the 100 questions in this topic

    How much do you know about Git and Version Control?

    Which command removes a file from the index without deleting it from the working directory?

    Answers

    git remove
    git delete
    git rm --cachedCorrect
    git drop

    The git rm --cached command removes a file from the index while keeping its local copy.