git cherry-pick 詳解 —— Git 學習筆記 18

git cherry-pick 詳解 初識 git cherry-pick(揀選) 揀選會提取某次提交的補丁,以後嘗試將其從新應用到當前分支上。 這種方式在你只想引入特性分支中的某個提交時頗有用。html 假設你的項目提交歷史以下:git 若是你但願將提交 e43a6 拉取到 master 分支,你能夠運行:web # 當前處於 master 分支 $ git cherry-pick e43a6
相關文章
相關標籤/搜索