提交到两个分支上
- 在A分支上提交完成后查询log记录 commit id
git log
2.切换到B分支
git check
3.打开cmd窗口应用修改到B分支中
git cherry-pick f9e1e249e9bfec0d45354f7b5607aae0ba3fa6e0
4.推送到B分支上
git push origin
git log
2.切换到B分支
git check
3.打开cmd窗口应用修改到B分支中
git cherry-pick f9e1e249e9bfec0d45354f7b5607aae0ba3fa6e0
4.推送到B分支上
git push origin
本文标题:git 修改应用到不同分支上
本文链接:https://www.haomeiwen.com/subject/vqejsjtx.html
网友评论