• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Git by
Q:
What is a commit message?

1 Answer

0 votes
by

The command that is used to write a commit message is “git commit -a”.

Now explain about -a flag by saying -a on the command line instructs git to commit the new content of all tracked files that have been modified. Also, mention you can use “git add <file>” before git commit -a if new files need to be committed for the first time.

Related questions

0 votes
asked Jan 9 in Git by SakshiSharma
0 votes
asked Oct 16, 2019 in Git by rajeshsharma
...