When I do a git status I get a list of files prefixed with new file: . How can I get only this list? I want to process this files in a simple loop
git status
new file:
List of new files or to get files to be added to git, can be got using git status and grep command like git status -s | grep ??
git status -s | grep ??
root@user-ubuntu:~/project-repo-directory# git status -s | grep ?? ?? src/.../file1.js ?? src/.../file2.js ?? src/.../file3.js ....