culTest

    One of the 24 questions in this topic

    How much do you know about Git & GitHub: History Engineering and Automation?

    What does the git commit --amend command do?

    Answers

    It deletes the last commit.
    It lets you modify the message or content of the most recent commit.Correct
    It sends the commit to the remote server.
    It merges two branches.

    It is ideal for fixing typos or adding a forgotten file to the last commit.