LoginSignup
26
26

More than 5 years have passed since last update.

ディスクから削除したファイルを簡単に git rm する

Posted at

Windows では動きませんが。

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

変更されたファイルも add して良い場合は、以下が簡単です。

git add -u

参考 URL
http://stackoverflow.com/questions/492558/removing-multiple-files-from-a-git-repo-that-have-already-been-deleted-from-disk

26
26
1

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
26
26