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:
I would use something like git status --porcelain | grep "^A" | cut -c 4-
git status --porcelain | grep "^A" | cut -c 4-