git command -m
git command -d
git command -message
none of the mentioned
Answer is Right!
Answer is Wrong!
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.”