I am using this to list all changed files since last commit:
git diff --name-only HEAD HEAD~1
How do I print only files which have been added since last commit (i.e. not deleted or updated)?
If there's no way, then how do I print the action next to the name, so I can parse it out and filter on only added
files?