<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><title>MagicLen</title><link>https://magiclen.org/tag/%E7%89%88%E6%9C%AC%E6%8E%A7%E5%88%B6/feed</link><description>多元化原創文章，內容包羅萬象，有程式語言、網站應用、軟體介紹、硬體介紹、作業系統、旅行遊記、專題採訪、益智問題、文學創作，以及作者們的知識分享和作品分享。</description><language>zh-TW</language><lastBuildDate>Tue, 14 Apr 2026 15:27:57 +0000</lastBuildDate><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>8</sy:updateFrequency><sy:updateBase>1970-01-01T00:00+00:00</sy:updateBase><item><title>如何復原Git的變動？已經commit的變動還能怎麼復原呢？</title><link>https://magiclen.org/git-recovery</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2022/06/git-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2022/06/git-220x162.png 1x, https://magiclen.org/wp-content/uploads/2022/06/git-440x324.png 2x, https://magiclen.org/wp-content/uploads/2022/06/git-660x486.png 3x" alt="">
在使用Git進行程式專案或是其它任何專案的版本控制時，有時候可能會因為一些意外而導致專案發生了不應該出現的變動，這時候要如何利用Git來還原呢？在這篇文章中，將會介紹如何用「git checkout」、「git reset」、「git revert」這三種指令來分別處理不同的狀況。]]></description><category>研究分享</category><category>軟體介紹</category><category>Git</category><category>版本控制</category><guid>https://magiclen.org/git-recovery</guid><pubDate>Tue, 2 Aug 2022 12:00:00 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>