git提交到另一个分支

在master上commint了一下修改,但是现在不想提到master上去,想提交到的volop上

1.在master上查看提交记录

git log

image.png

2.切换到devolop分支,使用cherry-pick

 git cherry-pick 19ce2b375fce2dfae13818a8fee585daa27e691a

image.png

3.push到分支上去

 git push

image.png

# git 
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×