{"id":4036,"date":"2021-04-26T13:15:23","date_gmt":"2021-04-26T04:15:23","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=4036"},"modified":"2021-04-26T13:15:23","modified_gmt":"2021-04-26T04:15:23","slug":"git-fatal-bad-object","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/4036","title":{"rendered":"[git] fatal: bad object"},"content":{"rendered":"<h2>\u75c7\u72b6<\/h2>\n<p>\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30d6\u30e9\u30f3\u30c1\u306e\u524a\u9664\u3092\u8a66\u307f\u308b\u3068 fatal \u304c\u767a\u751f\u3059\u308b\u3002<\/p>\n<pre class=\"lang:sh highlight:0 decode:true \" >$ git push origin :my_branch\r\nremote: fatal: bad object 0000000000000000000000000000000000000000\r\nTo https:\/\/github.com\/JaneDoe\/my_repository\r\n - [deleted]         my_branch<\/pre>\n<p><!--more--><\/p>\n<h2>\u539f\u56e0<\/h2>\n<p>\u524a\u9664\u5bfe\u8c61\u306e\u30d6\u30e9\u30f3\u30c1\u306e\u30ea\u30e2\u30fc\u30c8\u8ffd\u8de1\u30d6\u30e9\u30f3\u30c1\u304c\u30ed\u30fc\u30ab\u30eb\u4e0a\u306b\u5b58\u5728\u3057\u306a\u3044\u3002<\/p>\n<h2>\u5bfe\u7b56<\/h2>\n<ul>\n<li>fetch \u3057\u305f\u5f8c\u306b &quot;<code>git push &nbsp; :&lt;branch&gt;<\/code>&quot; \u3092\u5b9f\u884c\u3059\u308b\u3002<\/li>\n<li>\u6c17\u306b\u3057\u306a\u3044\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u75c7\u72b6 \u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30d6\u30e9\u30f3\u30c1\u306e\u524a\u9664\u3092\u8a66\u307f\u308b\u3068 fatal \u304c\u767a\u751f\u3059\u308b\u3002 $ git push origin :my_branch remote: fatal: bad object 0000000000000000 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[2],"class_list":["post-4036","post","type-post","status-publish","format-standard","hentry","category-memo","tag-git"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/4036","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=4036"}],"version-history":[{"count":8,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/4036\/revisions"}],"predecessor-version":[{"id":4044,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/4036\/revisions\/4044"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=4036"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=4036"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=4036"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}