mirror of https://github.com/gogits/gogs.git
Browse Source
For DVCS, either merge or rebase works for getting new code in a pull request in the main branch. The rebase workflow produces a linear history which is cleaner, and more bisect-able. This commit adds a repo-level option to enable the rebase workflow. Once enabled, "Merge Pull Request" will be replaced by "Rebase and Merge Pull Request" which does exactly what the user wants. It's unlikely a project wants a mixed-use of both rebase and merge workflows, therefore the feature is not implemented as a drop-down button like what GitHub does (https://github.com/blog/2243-rebase-and-merge-pull-requests).pull/4805/head
mharinder
7 years ago
8 changed files with 493 additions and 469 deletions
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue