wada811 / blog

wada811's blog
https://github.com/wada811/blog/issues
Apache License 2.0
6 stars 0 forks source link

git status --ignored で無視しているファイルを表示する #7

Open wada811 opened 5 years ago

wada811 commented 5 years ago

Why

リポジトリに追加しているはずなのに追加されていない。 何かがおかしいと確認する際に使う。

What

以下のオプションを使う。

--ignored[=<mode>]    show ignored files, optional modes: traditional, matching, no. (Default: traditional)

How

git status --ignored

Ref