wadge
wadge

Reputation: 428

Move branch head to another commit

I know this is probably easy to do but I'm not managing to do it.

I want to move the develop branch up in the tree to be in line with master.

When I try to ff merge develop into master, I get the notification that is already up to date. See the image below for details.

Branch History

Upvotes: 0

Views: 634

Answers (2)

TheGeorgeous
TheGeorgeous

Reputation: 4061

Merge master into develop

$ git merge master

Upvotes: 1

David Deutsch
David Deutsch

Reputation: 19025

You can do a fast forward merge with the following 2 steps:

git checkout develop
git merge master

Upvotes: 1

Related Questions