火星蚊的地球記事

火星蚊的地球記事
  • Home
  • About
  • Tags
  • Categories
  • Archives
  • Sitemap
  • Table of Contents
  • Overview
  1. 1. Ref

cjwind

243 posts
8 categories
57 tags
E-Mail
0%

Git diff & patch

Posted on 2020-07-05 Edited on 2025-03-25

用 Git diff 生 patch file

$ git diff [file] > [path_file]

上 patch

$ patch -p1 < [path_file]

  • 加 -d [dir path] 可以切換 directory

Ref

  • https://blog.longwin.com.tw/2013/08/linux-diff-patch-learn-note-2013/
# Linux # Git
Day 4 C 語言與畫面顯示的練習
Debian 10 Desktop 中文輸入
© 2025 cjwind
Powered by Hexo & NexT.Gemini