A
A
Andrey2016-02-01 09:09:02
git
Andrey, 2016-02-01 09:09:02

Is it possible to disable fast-forward for certain branches of a repository?

There is a master branch.
There are some other number of branches for features, bugs and fixes.
Is it possible to force git to merge only in master without using fast-forwarding?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cat Anton, 2016-02-01
@VladimirAndreev

git config branch.master.mergeoptions "--no-ff"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question