in Technology by (1.9m points)

What is the GIT command you can use to write a commit message?

1 Answer

0 votes
by (1.9m points)

The command that is used to write a commit message is “git commit –a”.  The –a on the command line instructs git to commit the new content of all tracked files that have been modified. You can use “git add<file>” before git commit –a if new files need to be committed for the first time.