wei/pull

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

Ouverte

#448 ouverte le 31 mai 2022

 (5 commentaires) (0 réaction) (0 personne assignée)JavaScript (720 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (5 364 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur