commit only some files git code example
Example 1: git add
//to add a single file
git add <FILE_NAME>
//to add all changed files
git add -A
Example 2: commit only single file in git
git commit [some files]
//to add a single file
git add <FILE_NAME>
//to add all changed files
git add -A
git commit [some files]