简体   繁体   中英

Git how to copy one branch to the master branch

I have a repository and I used to work with the master branch myself, now we got a new employee, we created a new branch for him, and now his branch is stable, how can I copy its content to the master branch ?

I am using bitbucket

It sounds like you just want to do a git merge ? The process of doing it is described here , but the tl;dr is git checkout master && git merge his-branch

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