Which of the following command is used to give a message description?

git command -m
git command -d
git command -message
none of the mentioned

The correct answer is A. git command -m.

The git command -m is used to add a message description to a commit. The message description should be a brief summary of the changes made in the commit.

The git command -d is used to delete a branch.

The git command -message is not a valid command.

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

git commit -m "Fixed a bug in the calculator."

This will create a new commit with the message “Fixed a bug in the calculator.”

Exit mobile version