I have two branches (picture 1):
A ------------- <-- master(no commits in master)
\
B - C - D - E <-- develop
I want to merge develop into master and i want to see no B,C,D commits in master (picture 2):
A ------------- E <-- master
\ /
B - C - D - E <-- develop
I use command:
git merge --no-ff develop
But i get message:
already-up-to-date
What should i do to see picture 2?