關於修改的動詞小抄
Git 教學現在有獨立的網站了!請移駕 Git 零到一百。
寫 commit message 發現自己永遠只會 edit/change/adjust/tune,這邊請 GPT 補一下英文,而且有些單字會腦袋抽風突然想不起來,這篇當作 cheatsheet 使用。
下面的表格都依據修改的嚴重程度依序排列。
調整類型動詞
動詞 | 簡短解釋 | 範例 |
---|---|---|
Polish | 最後修飾以改進小細節 | polish: improved UI animations |
Tweak | 微小的調整 | tweak: fine-tuned cache settings |
Adjust | 小幅度的調整以改善某些效果 | adjust: tweaked layout for mobile |
Tune | 進行細微調整以優化性能或效果 | tune: optimized query execution |
Refine | 改善功能或細節以提升質量 | refine: enhanced error handling |
Simplify | 簡化程式邏輯或結構,減少複雜度 | simplify: reduced complexity in module |
修改類型的英文
動詞 | 簡短解釋 | 範例 |
---|---|---|
Modify | 修改部分內容,改變行為或功能 | modify: changed validation rules |
Revise | 重新編寫或調整整體內容 | revise: updated error messages for clarity |
Refactor | 重構程式碼結構,不改變其功能 | refactor: improved service layer design |
Enhance | 增強現有功能,增加新功能或選項 | enhance: added advanced search options |
Optimize | 優化程式或系統,提高性能或效率 | optimize: reduced load time by 30% |
Restructure | 重新組織程式邏輯或文件結構 | restructure: reorganized module imports |
Redesign | 重新設計功能或界面 | redesign: overhauled dashboard layout |
Upgrade | 升級至更新版本或依賴關係 | upgrade: bumped node.js to version 14 |
Overhaul | 全面改造或大規模修改 | overhaul: reworked authentication system |
修正類型動詞
動詞 | 簡短解釋 | 範例 |
---|---|---|
Correct | 修正小錯誤 | correct: fixed typo in error message |
Amend | 修改之前的提交或文件 | amend: corrected previous commit |
Fixup | 小幅修正,通常伴隨著其他更大修正 | fixup: addressed minor code issue |
Fix | 修復bug或功能性錯誤 | fix: resolved login issue |
Patch | 臨時修復 | patch: temporary fix for memory leak |
Address | 解決已知問題 | address: handled edge case in parser |
Debug | 排查和修正錯誤 | debug: identified and fixed null pointer issue |
Resolve | 解決複雜或長期存在的問題 | resolve: fixed long-standing race condition |
Repair | 修復嚴重損壞的功能 | repair: restored broken DB connection |
文章類型動詞
除了依照嚴重程度排序以外也把中文翻譯很像的幾個挑出來講,下面這幾個的翻譯都是修改:
- Edit 最廣泛的用法,沒有特定說明哪種修改
- Modify 小幅度修改如句子或用字
- Amend 法律常見用語,更正式,通常指微幅修改用字遣詞
- Revise 對全文進行翻新,如版本更新,通常是大幅度修正
- Alter 對整個文章進行風格、結構等根本性改變
動詞 | 簡短解釋 | 範例 |
---|---|---|
Proofread | 校對 | Proofread: Fix typos and punctuation |
Amend | 修正、修訂 | Amend: Correct outdated information and add new findings |
Format | 格式 | Format: Adjust heading styles |
Correct | 修正 | Correct: Fix incorrect date |
Clarify | 闡明 | Clarify: Reword paragraph for clarity |
Edit/Modify | 編輯 | Edit: Improve sentence structure and flow |
Update | 更新 | Update: Update latest statistics |
Polish | 潤飾 | Polish: Improve overall tone and voice |
Enhance | 強化 | Enhance: Add relevant images and charts |
Refine | 精煉 | Refine: Elevate overall writing quality |
Improve | 改善 | Improve: Strengthen arguments and provide more evidence |
Condense | 濃縮、精簡 | Condense: Remove repetitive or irrelevant paragraphs |
Revise | 修訂、修改 | Revise: Adjust the main argument of the article |