<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Git on Moxuan's Blog</title><link>https://blog.moxuan.de/tags/git/</link><description>Recent content in Git on Moxuan's Blog</description><image><title>Moxuan's Blog</title><url>https://i.postimg.cc/7hwBy7VS/calcr.png</url><link>https://i.postimg.cc/7hwBy7VS/calcr.png</link></image><generator>Hugo -- 0.154.3</generator><language>zh-cn</language><copyright>©2023-2026 moxuan</copyright><lastBuildDate>Sun, 10 Nov 2024 14:50:00 +0800</lastBuildDate><atom:link href="https://blog.moxuan.de/tags/git/index.xml" rel="self" type="application/rss+xml"/><item><title>告别手动传文件，利用 Git Hooks 实现代码推送到服务器的全自动部署</title><link>https://blog.moxuan.de/posts/git-hooks-auto-deploy/</link><pubDate>Sun, 10 Nov 2024 14:50:00 +0800</pubDate><guid>https://blog.moxuan.de/posts/git-hooks-auto-deploy/</guid><description>&lt;p&gt;&lt;strong&gt;告别 FTP 时代&lt;/strong&gt;
以前修改博客的前端代码或者自己的小项目，总是在本地改完，用 FTP 软件拖到服务器，极其繁琐，且版本经常搞混。
稍微研究了一下 Git 底层的钩子逻辑（Git Hooks），花半小时搞定了一套极简的自动化部署流水线。&lt;/p&gt;</description></item></channel></rss>