LoginSignup
2
3

More than 5 years have passed since last update.

magitで新規ディレクトリ内のファイルを表示する

Posted at
$ git config status.showUntrackedFiles all

を設定したうえで、stagingでディレクトリ名のところでTABを押すとディレクトリが展開されます。
これでディレクトリ単位でstagingしてから、unstagingしまくる必要がなくなります。
magit公式マニュアルmagit-insert-untracked-filesに記載があります。

巨大なディレクトリの場合、レスポンスが悪くなる(最悪固まる)みたいなので、gitが探す範囲に大量のアウトプットを置くような場合、あらかじめignoreしておいた方がよさそう。

2
3
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
2
3