<?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 Commentary of Takao</title><link>https://takao.blog/zh-tw/tags/reflog/</link><description>Recent content in Reflog on Commentary of Takao</description><generator>Hugo -- gohugo.io</generator><language>zh-TW</language><copyright>Commentary of Takao</copyright><lastBuildDate>Wed, 15 Jul 2026 22:01:08 +0900</lastBuildDate><atom:link href="https://takao.blog/zh-tw/tags/reflog/index.xml" rel="self" type="application/rss+xml"/><item><title>使用 git reflog 還原已刪除的分支和提交</title><link>https://takao.blog/zh-tw/web/git-recovery-deleted-branch-reflog/</link><pubDate>Sat, 25 Apr 2026 00:00:00 +0900</pubDate><guid>https://takao.blog/zh-tw/web/git-recovery-deleted-branch-reflog/</guid><description>&lt;img src="https://takao.blog/img/thumbnail/git-recovery-deleted-branch-reflog-zh-tw.png" alt="Featured image of post 使用 git reflog 還原已刪除的分支和提交" /&gt;&lt;p&gt;“我不小心使用 &lt;code&gt;git branch -D&lt;/code&gt; 刪除了本地分支”，或者“我運行了 &lt;code&gt;git reset --hard HEAD~1&lt;/code&gt; 並丟失了我未推送的提交！”如果您使用 Git 工作過一段時間，您可能經歷過這些令人胃口大開的時刻之一。&lt;/p&gt;</description></item></channel></rss>