Re: [PATCH] merge: --ff-one-only to apply FF if commit is one
- From
Ruslan Yakauleu <ruslan.yakauleu@gmail.com>
- Date
- Nov 1, 2023, 06:34 UTC
- Message-ID
- <aa3559d6-0e05-4c7a-818e-8a0cb05e908b@gmail.com>
- In-Reply-To
- <xmqqa5ryxn8i.fsf@gitster.g>
> And the only effect to have the "--ff-one-only" option is to allow > you *not* to look at what is on the side branch.
Moreover, it allows not to forget choose the right way and allow use a lot of external tools (GitExtensions for example) as not all in command are console ninja
Currently, when complex features merged with --ff accidentally we have to do in main branch something like $ git reset ... $ git checkout <some_old_commit_which_we_have_to_find> $ git merge --no-ff <latest commit> $ git push --force
And that's what I prefer to avoid
-- Ruslan