add all files to git command code example
Example 1: add all files in directory to git
git add --all
git commit -am "<commit message>"
git push
Example 2: git add all files command
/*to add all the files in staging area at once*/
git add .
git add --all
git commit -am "<commit message>"
git push
/*to add all the files in staging area at once*/
git add .