how to add all in git 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
//to add a single file
git add <FILE_NAME>
//to add all changed files
git add -A
git add --all
git commit -am "<commit message>"
git push
//to add a single file
git add <FILE_NAME>
//to add all changed files
git add -A