<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Reflog on 白と黒</title><link>https://chillfixx.work/tags/reflog/</link><description>Recent content in Reflog on 白と黒</description><generator>Hugo</generator><language>ja</language><lastBuildDate>Fri, 16 Oct 2026 12:30:00 +0900</lastBuildDate><atom:link href="https://chillfixx.work/tags/reflog/index.xml" rel="self" type="application/rss+xml"/><item><title>Gitの事故から復旧する手順:消えた作業・誤コミット・誤push</title><link>https://chillfixx.work/blog/git-recover-lost-work/</link><pubDate>Fri, 16 Oct 2026 12:30:00 +0900</pubDate><guid>https://chillfixx.work/blog/git-recover-lost-work/</guid><description>&lt;h2 id="はじめに-消えたように見えてもgit-の中に残っていることが多い"&gt;はじめに: 消えたように見えても、Git の中に残っていることが多い&lt;/h2&gt;
&lt;figure&gt;
 &lt;video class="w-full rounded-2xl" src="https://chillfixx.work/blog/git-recover-lost-work/overview.mp4" poster="/blog/git-recover-lost-work/overview.webp" width="1200" height="675" data-motion loop muted playsinline preload="none" aria-label="worktree の消失、push 前のコミット、誤って入れたファイル、force push、消したブランチの復活の 5 つの事故と、戻すときに使うコマンド"&gt;&lt;/video&gt;
 &lt;figcaption&gt;worktree の消失、push 前のコミット、誤って入れたファイル、force push、消したブランチの復活の 5 つの事故と、戻すときに使うコマンド&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;作業ツリーをブランチごと消してしまった。英語で書いてはいけないコミットメッセージを英語で書いた。デバッグ用のログをコミットに入れた。確認せずに force push した。消したはずのブランチがリモートに戻ってきた。&lt;/p&gt;</description></item></channel></rss>