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
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
精彩评论