MATLAB で Git のマージを使用する時 Non Fast-Forward の設定でマージできますか?

MATLAB上で、Gitのブランチをマージする際に、コミットが作成されないマージ(早送りマージ・Fast-Forward Merge)が行われます。
早送りされないマージ(Non Fast-Forward)を行う方法があれば教えてください。

 Accepted Answer

MathWorks Support Team
MathWorks Support Team on 19 May 2026
Edited: MathWorks Support Team on 19 Sep 2025

0 votes

MATLAB は Git の設定ファイル(.gitconfig)の設定を参照します。設定ファイルで「merge.ff」を false に設定することで、non fast-forward マージが可能になります。
 
[merge]
    ff = false
詳しくは、英語のドキュメントとなりますが、git の設定の
をご参照ください。

More Answers (0)

Products

Release

R2025a

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!