實作型程式筆記、真實工程經驗與股票觀察 — 易春木的技術與投資分享
git format-patch 預設會從某個commit開始一路依照commit作出n所有patch檔案
但是有可能你只想要產生該commit的patch2,其實很簡單後面加個-1就可以啦
git format-patch xxxxxxxxxxxxx -1
如果你要該commit往後的兩個commit的patches就改成-2
git format-patch xxxxxxxxxxxxx -2
沒有留言:
張貼留言