当前位置:   article > 正文

git Cherry-pick Failed your local changes would be overwritten by cherry-pick. hint: commit your

your local changes would be overwritten by cherry-pick. hint: commit your ch

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

3. 切换回Branch A分支,unstash文件

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/盐析白兔/article/detail/606077
推荐阅读
相关标签
  

闽ICP备14008679号