How to merge with merge commit

502 Views Asked by At

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.

0

There are 0 best solutions below