You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add ff_only parameter to POST /repos/{owner}/{repo}/merge-upstream
The merge-upstream route was so far performing any kind of merge, even those
that would create merge commits and thus make your branch diverge from upstream,
requiring manual intervention via the git cli to undo the damage.
With the new optional parameter ff_only, we can instruct gitea to error out, if
a non-fast-forward merge would be performed.
0 commit comments