git add and git add - all code example
Example 1: git add all files command
/*to add all the files in staging area at once*/
git add .
Example 2: git add all files
git commit -a -m "msg"
/*to add all the files in staging area at once*/
git add .
git commit -a -m "msg"