wei/pull

[FR] New mergeMethod `merge-ff` to only merge when un-fast-forwardable, otherwise hard reset

オープン

#448 opened on 2022/05/31

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (720 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (5,364 個のスター)
PR merge metrics
 (PR metrics pending)

説明

A nice mix of two current mergeMethod: hardreset and merge. Effectively simulate the default git merge behavior and make the commit history clean.

A use case: DIYgod/RSSHub has a pull.yml configuration file with mergeMethod: merge to prevent pull[bot] from overriding downstream manipulated forks (https://github.com/DIYgod/RSSHub/pull/9710). In such a case, merge-ff is a better solution.

コントリビューターガイド