Which of the following command help us to give message description?

[amp_mcq option1=”git command -m” option2=”git command -d” option3=”git command -message” option4=”none of the mentioned” correct=”option1″]

The correct answer is A. git command -m.

The git commit command is used to create a new commit in the current branch. The -m option is used to specify a message for the commit. The message should describe the changes that were made in the commit.

The git command -d option is used to delete a branch. The git command -message option is not a valid option.

Here is an example of how to use the git commit command with the -m option:

git commit -m "This is a commit message."

This will create a new commit with the message “This is a commit message.”

Exit mobile version