9
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

git - status 表示で untracked を無視させる

Posted at

参考

git のバージョンが古すぎる場合は使えない可能性もあるらしいが、この記事自体が2009年なので最近の git なら問題ないはず。

ショートオプション

$ git status -uno

礼儀正しいオプション

$ git status --untracked-files=no

コンフィグで無効にする

$ git config status.showuntrackedfiles no

untracked を表示させたい場合は -uオプションで表示してくれる。

$ git status -u

コンフィグを元に戻したい場合は

$ git config --unset status.showuntrackedfiles
9
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?