Edit

GitRefUpdateMode Enum

Definition

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

[System.Runtime.Serialization.DataContract]
public enum GitRefUpdateMode
type GitRefUpdateMode = 
Public Enum GitRefUpdateMode
Inheritance
GitRefUpdateMode
Attributes

Fields

Name Value Description
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.

Applies to