xxxxxxxxxx
# to commit only added files (and NOT removed ones) do:
git add . --ignore-removal
git commit -m "commit message"
xxxxxxxxxx
# 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
#