Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • addBranchRestriction
  • removeBranchRestriction
  • getBranchRestrictionList

Related Parameters

Table plus
ParameterDefaultDescription
restrictionread-only

Branch restriction. Defaults to read-only. Restrictions are:

Div
Restriction (CLI)UI Description
read-onlyPrevent all changes
no-deletesPrevent deletion
fast-forward-onlyPrevent re-writing history
pull-request-onlyPrevent changes without a pull request
matchingTypeBRANCH

Branch matching type. Defaults to BRANCH. Determines usage of branch parameter value. Types are:

branch

For branch permissions, it can represent a branch, branch pattern, or branching model. Examples:

  • master (BRANCH)
  • xyz* (PATTERN)
  • feature/ (MODEL)


Discontinued Stash 3.x Support

...