git ls-filesのオプション
git ls-files はオプションでGit管理下(tracked)にあるファイルや管理外(untracked)のファイルを対象として切り替えられる。
デフォルトではGit管理下のファイルが対象となる。
—other
Section titled “—other”—other オプションを与えると、列挙するファイルのリストはGit管理下にないものが対象となる。
—ignored
Section titled “—ignored”無視されているファイルだけを対象とする?