michael
michael

Reputation: 110510

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

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.

Upvotes: 1

Views: 100

Answers (1)

timoshin
timoshin

Reputation: 21

In a terminal:

$ cd path_to_you_rep
$ git checkout new_branch
$ git merge old_branch

Upvotes: 2

Related Questions