culTest

    One of the 100 questions in this topic

    How much do you know about Git and Version Control?

    Which command is used to see the history of a specific file?

    Answers

    git file-history
    git history
    git log -- [file]Correct
    git show [file]

    The git log -- [file] command shows the history of commits that modified the specified file. It helps you see who changed the file, when, and with what commit message.