git ls-files
安全追跡ファイルの一覧
git ls-files
Gitが追跡中のファイルを一覧。--others --exclude-standardで「未追跡だけ」を出せ、追跡漏れの点検に便利。
実行例
git ls-files --others --exclude-standard未追跡ファイルのみ表示
書式
git ls-files [--others --exclude-standard] [-s]
実行前の注意
参照のみ。
関連コマンド
- git status作業状態の確認
- git addステージング