#Make a change and Commit the changed files with a message:
git commit -a -m "Commit message here"
#commit desired files with desired message:
git commit -m "Commit message here"
# So instead of
# git add . and
# git commit -m "Commit Message"
# you can just add and commit files to git all at once with
git commit -am "commit message"
: '#
git - command
commit - commit
-am - flag
"commit message" - message to commit files with
#
git add .
//^ to add all files
git commit -m "Your Message"
// to commit all files with a message