LoginSignup
7
7

More than 5 years have passed since last update.

Gitに大きなサイズのファイルをあげてしまい消せないだと?

Posted at

強引に全コミットから該当のファイルを削除してしまうなど

$ git filter-branch --force --index-filter \
  'git rm --cached --ignore-unmatch 大きなファイル' \
  --prune-empty --tag-name-filter cat -- --all
$ git commit --amend -CHEAD

cf. http://huguma.hatenablog.com/entry/2014/10/03/184232

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