Skip to main content

Git merge --no-ff

·43 words·1 min· loading
Snippet Git
Anastasios Selalmazidis
Author
Anastasios Selalmazidis
🐧 /dev/null

How to merge a branch without fast forward
#

  • Create a new branch named dev and check it out
$ git checkout -b dev
  • Merge dev to master [https://i.sstatic.net/FMD5h.png]
$ git checkout master
$ git pull origin master
$ git merge --no-ff develop

Git merge –no-ff