編輯

共用方式為


GitRefUpdateMode enum

Enumerates the modes under which ref updates can be written to their repositories.

Fields

BestEffort = 0

Indicates the Git protocol model where any refs that can be updated will be updated, but any failures will not prevent other updates from succeeding.

AllOrNone = 1

Indicates that all ref updates must succeed or none will succeed. All ref updates will be atomically written. If any failure is encountered, previously successful updates will be rolled back and the entire operation will fail.