SOFTWARE ENGINEERING

EMERGING TRENDS IN SOFTWARE ENGINEERING

DEVOPS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
How do you supply a commit message to a git commit?
A
git message “I’m coding”
B
git add “I’m coding”
C
git commit “I’m coding”
D
git commit-m “I’m coding”
Explanation: 

Detailed explanation-1: -To add a Git commit message to your commit, you will use the git commit command followed by the-m flag and then your message in quotes.

Detailed explanation-2: -Correct Answer : Option (C) : Git commit-m “I’m coding!"

Detailed explanation-3: -press i (i for insert) write your merge message. press esc (escape) write :wq (write & quit) then press enter.

There is 1 question to complete.