📜  git cherry 选择提交的一部分 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:04.241000             🧑  作者: Mango

代码示例3
git cherry-pick -n  # get your patch, but don't commit (-n = --no-commit)
git reset                   # unstage the changes from the cherry-picked commit
git add -p                  # make all your choices (add the changes you do want)
git commit                  # make the commit!