As Brandon says, just push from the repo branch to the trunk or pull the branch into the trunk.
You can then choose whether you want to merge the branch and trunk together or leave them separate. If you push from a branch into the trunk, you may receive a warning about several heads. Just do push -f if you want them separated. (pull cannot give a warning)
You can merge the branch changes into a trunk and, if you wish, continue further work in the branch. In general, I put every release so that I can easily return to everything that went out the door.
When you created the branch, did you clone it into another directory? If so, it will be more difficult to find the branch after it pulls it into the trunk repository. You can read bookmarks to tag a branch. Also see how several chapters work.
Note. Another option is to use named branches , which forever points to a branch. You did not need to do anything to switch to it later.
source share