LoginSignup
24
22

More than 5 years have passed since last update.

【git】deletedを一括削除対象にする

Posted at

$ git status
Changes not staged for commit:
$ deleted: hoge/hoge.png
$ deleted: moge/moge.png

上記のdeletedを一括指定

git rm $(git ls-files --deleted)

24
22
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
24
22