anna
anna

Reputation: 433

How to merge with merge commit

When I try to merge with command:

git merge --no-ff -m <message> <source-branch>

I get message: Already up to date. but it's not!

When I'm trying to merge like:

git merge origin <branch-name> 

branch is merged fast-forward.

But I need merge commit. Please help me how to fix it.

Upvotes: 0

Views: 531

Answers (0)

Related Questions