<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ignore Change on Yuru Blog</title><link>https://blog.yuru.app/tags/ignore-change/</link><description>Recent content in Ignore Change on Yuru Blog</description><generator>Hugo</generator><language>zh-Hant</language><lastBuildDate>Sat, 22 Apr 2023 20:48:22 +0800</lastBuildDate><atom:link href="https://blog.yuru.app/tags/ignore-change/index.xml" rel="self" type="application/rss+xml"/><item><title>文件進入 Git 版控後忽略後續變更</title><link>https://blog.yuru.app/git-ignore-local-change/</link><pubDate>Sat, 22 Apr 2023 20:48:22 +0800</pubDate><guid>https://blog.yuru.app/git-ignore-local-change/</guid><description>我們都知道，在 .ingore 加入已經進入版控的檔案，沒辦法讓文件進入 Git 版控後忽略後續變更但專案裡常有一些檔案需要進版控，但 Local 的異動並不需要上到 Remote，例如 Local 的測試資料庫的設定檔，或是我們也不會把 私鑰、密碼、token 等隱密資訊上傳。一直以來我都是先把異動後的檔案 Stash 起來，Commit 前先將設定檔 Discard，等到 Commit 後再</description></item></channel></rss>