Skip to content

Instantly share code, notes, and snippets.

@kazuki-ma
Last active December 12, 2018 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kazuki-ma/f7139d82cbf80f1eee2edd64fbb8e8da to your computer and use it in GitHub Desktop.
Save kazuki-ma/f7139d82cbf80f1eee2edd64fbb8e8da to your computer and use it in GitHub Desktop.
Git LFS で次のエラーメッセージが出たときの一発対処法:Encountered 3 file(s) that should have been pointers, but weren't: ref: https://qiita.com/kazuki-ma/items/782cd1cd7eca2fe988b7
Encountered 1 file(s) that should have been pointers, but weren't:
Assets/xxx.png
git update-index --assume-unchanged -- 対象のファイル
# 量が多いとき
git status -s | cut -c 4- | xargs git update-index --assume-unchanged
rm .git/index && git reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment