- 運営しているクリエイター
#Git
gitをリモートに強制的に合わせようとしたら「fatal: failed to read object ・・・」というエラーが出たので対応
gitの「develop」ブランチで作業していたらローカルのブランチがぐちゃぐちゃぐちゃっとしてしまったため、強制的にリモートに合わせようと下記実行したところ git fetch origin developgit reset --hard origin/develop 下記のエラーが出た。 fatal: failed to read object c9960cde592486d47266cbf812fc89d5cea81493: Input/output error
【Git】checkout時に、「error: Your local changes to the following files would be overwritten by checkout: 」と表示された時の対処方法
いつも通りGitでチェックアウトしようとしたらこんなメッセージが出てチェックアウトできませんでした。 error: Your local changes to the following files would be overwritten by checkout: src/app/Http/Controllers/XXXXX.phpPlease commit your changes or stash them before you switch branches.Abo