your local changes would be overwritten by cherry-pick. hint: commit your changes or stash them to proceed. cherry-pick failed
hint: commit your changes or stash them to proceed.
cherry-pick failed)
要把Branch A分支的abc提交cherry-pick到Branch B分支上
1. 先切换到Branch A的分支
把没提交的文件提交或者把没提交的文件先stash
2. 切换到要Branch B分支
选择Branch A分支中的abc, 然后右键cherry-pick
在尝试将BranchA的abc提交应用到BranchB时,需确保BranchA无未提交改动。先提交或stashBranchA的本地更改,然后切换到BranchB执行cherry-pick操作,最后回到BranchA解stash文件。
2361

被折叠的 条评论
为什么被折叠?



