简体   繁体   中英

Merge two branches not master

I have a branch I created which is a decendant of master.

master -> mybranch

I now need to merge in code from things/bugfix into mybranch

master -> things/bugfix

So I need things/bugfix code to be in mybranch

First checkout mybranch :

git checkout mybranch

Then merge things/bugfix into mybranch :

git merge things/bugfix

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM