Git: list only “untracked” files (also, custom commands)

Is there a way to use a command like git ls-files to show only untracked files? The reason I’m asking is because I use the following command to process all deleted files: git ls-files -d | xargs git rm I’d like something similar for untracked files: git some-command –some-options | xargs git add I was … Read more