-
Previous Value Current Value Open
Closed
-
This can be achieved via branch protection:

You may configure a required reviewer for the branch and all direct push will be rejected, and OneDev will prompt user to create pull request instead.
| Type |
New Feature
|
| Priority |
Major
|
| Assignee | |
| Labels |
No labels
|
Issue Votes (0)
Hi I want to disallow access to direct push/commit to a single branch (From UI/API or Git Push) and I want to force users to create PR
For example users have to create a PR from other branches to the main branch to commit changes