Skip to content
Menu
メモ
  • ホーム
  • 開発技術
    • サーバー構築関係
      • 公開サーバー構築
      • ドメイン・サーバー
    • プログラム開発
      • Docker
    • 人工知能
  • ライフスタイル
    • 投資
      • 株式
    • お得
      • クレジットカード
  • ビジネスサポート
    • 会社経営
    • 経理
    • サンプルページ
  • 人間の肉体をコントロールする
メモ

Git Error

Posted on 2023年7月26日
$ git gc
fatal: bad object refs/heads/w32tm.exe
fatal: failed to run repack

$ git fsck
bad sha1 file: .git/objects/03/cmdkey.exe
bad sha1 file: .git/objects/03/cmdkey_000.exe
            :
          <省略>

            :
bad sha1 file: .git/objects/ff/appmgmts_002.dll
bad sha1 file: .git/objects/ff/appmgmts_003.dll
Checking object directories: 100% (256/256), done.
Checking objects: 100% (1042/1042), done.
error: refs/heads/w32tm.exe: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/heads/w32tm_000.exe: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/heads/w32tm_001.exe: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/heads/w32tm_002.exe: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/heads/w32tm_003.exe: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/tags/W32Time.admx: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/tags/W32Time_000.admx: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/tags/W32Time_001.admx: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/tags/W32Time_002.admx: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/tags/W32Time_003.admx: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/tlscsp.dll: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/tlscsp_000.dll: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/tlscsp_001.dll: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/tlscsp_002.dll: invalid sha1 pointer 0000000000000000000000000000000000000000
error: refs/tlscsp_003.dll: invalid sha1 pointer 0000000000000000000000000000000000000000
Checking connectivity: 1723, done.

$ rm -rf .git/refs/heads/w32tm.exe
$ rm -rf .git/refs/heads/w32tm_000.exe
$ rm -rf .git/refs/heads/w32tm_001.exe
$ rm -rf .git/refs/heads/w32tm_002.exe
$ rm -rf .git/refs/heads/w32tm_003.exe
$ rm -rf .git/refs/heads/W32Time.admx
$ rm -rf .git/refs/heads/
$ rm -rf .git/refs/tags/W32Time.admx

$ rm -rf .git/refs/tags/W32Time_000.admx
$ rm -rf .git/refs/tags/W32Time_001.admx
$ rm -rf .git/refs/tags/W32Time_002.admx
$ rm -rf .git/refs/tags/W32Time_003.admx
$ rm -rf .git/refs/tlscsp.dll
$ rm -rf .git/refs/tlscsp_000.dll
$ rm -rf .git/refs/tlscsp_001.dll
$ rm -rf .git/refs/tlscsp_002.dll
$ rm -rf .git/refs/tlscsp_003.dll

$ git fsck
bad sha1 file: .git/objects/03/cmdkey.exe
            :
          <省略>

            :

bad sha1 file: .git/objects/ff/appmgmts_001.dll
bad sha1 file: .git/objects/ff/appmgmts_002.dll
bad sha1 file: .git/objects/ff/appmgmts_003.dll
Checking object directories: 100% (256/256), done.
Checking objects: 100% (1042/1042), done.
Checking connectivity: 1723, done.

$ git gc

Enumerating objects: 1723, done.
Counting objects: 100% (1723/1723), done.
Delta compression using up to 8 threads
Compressing objects: 100% (1235/1235), done.
Writing objects: 100% (1723/1723), done.
Total 1723 (delta 438), reused 980 (delta 211), pack-reused 0
Removing duplicate objects: 100% (256/256), done.
bad sha1 file: .git/objects/03/cmdkey.exe
            :
          <省略>
            :
bad sha1 file: .git/objects/ff/appmgmts_003.dll
$

コメントを残す コメントをキャンセル

メールアドレスが公開されることはありません。 ※ が付いている欄は必須項目です

最近の投稿

  • クレジットカード
  • 教育訓練費・税額控除
  • タスクの優先順位の付け方や進め方
  • 会社へ出社した方が良い理由
  • 中間管理職

最近のコメント

  • Hello world! に WordPress コメントの投稿者 より

アーカイブ

  • 2025年3月
  • 2025年2月
  • 2025年1月
  • 2024年12月
  • 2024年11月
  • 2024年10月
  • 2024年9月
  • 2024年8月
  • 2024年7月
  • 2024年6月
  • 2024年5月
  • 2024年4月
  • 2024年3月
  • 2024年2月
  • 2024年1月
  • 2023年12月
  • 2023年11月
  • 2023年10月
  • 2023年9月
  • 2023年8月
  • 2023年7月
  • 2023年6月
  • 2023年5月
  • 2023年4月
  • 2023年3月
  • 2023年2月
  • 2023年1月
  • 2022年12月
  • 2022年11月
  • 2022年10月
  • 2022年9月
  • 2022年8月
  • 2022年7月
  • 2022年6月
  • 2022年5月
  • 2022年4月
  • 2022年3月
  • 2022年2月
  • 2022年1月
  • 2021年12月
  • 2021年11月
  • 2021年10月
  • 2021年9月
  • 2021年8月
  • 2021年7月
  • 2021年6月
  • 2021年5月
  • 2021年4月

メタ情報

  • ログイン
  • 投稿フィード
  • コメントフィード
  • WordPress.org
©2025 メモ | WordPress Theme: EcoCoded