git-ssq
— display
the names of files not added to a Git repository
git-ssq |
[<options...>] [--] [<pathspec>...] |
The git-ssq
utility displays the names of
files present in the Git repository's directory, but not added to its
contents or index. It does this by running a “git status
--short” command and displaying only the names of the files on lines
starting with a question mark. It passes all command-line arguments to
git-status(1).
The git-ssq
utility exits 0 on
success, and >0 if an error occurs.
Show the files not added to the current Git repository:
git ssq
Filter only the unknown C source files from the
src/ subdirectory:
git ssq src | egrep -e
'.c$'
The git-ssq
utility was written by
Peter Pentchev in 2012.
Peter Penchev
⟨roam@ringlet.net⟩