Last active
December 12, 2018 13:47
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Encountered 1 file(s) that should have been pointers, but weren't: | |
Assets/xxx.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git update-index --assume-unchanged -- 対象のファイル | |
# 量が多いとき | |
git status -s | cut -c 4- | xargs git update-index --assume-unchanged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm .git/index && git reset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment