开发者

How can I merge all the changes from 1 branch to another

开发者 https://www.devze.com 2023-02-02 18:16 出处:网络
开发者_开发技巧In git, I have a branch with multiple commits, can I merge all the changes in that branch to another brach that I just created?
开发者_开发技巧

In git, I have a branch with multiple commits, can I merge all the changes in that branch to another brach that I just created?

Thank you.


In a terminal:

$ cd path_to_you_rep
$ git checkout new_branch
$ git merge old_branch
0

精彩评论

暂无评论...
验证码 换一张
取 消