Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
SourceCodeRepositoryBranch
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
Fields
| Field | Details |
|---|---|
| IgnoreRules |
|
| LastReferencedDate |
|
| LastViewedDate |
|
| Name |
|
| ParentRemoteReference |
|
| RemoteReference |
|
| RemoteReferenceDate |
|
| SourceCodeRepositoryId |
|
| Status |
|
Usage
Use this object to track the state of the feature branch every time a developer starts a new work item. Similarly, each stage in a pipeline is mapped to a specific branch defined in this object. It stores remote references (commit SHAs) and tracks sync issues like merge conflicts.
Associated Objects
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.
- SourceCodeRepositoryBranchChangeEvent
- Change events are available for the object.
- SourceCodeRepositoryBranchFeed
- Feed tracking is available for the object.
- SourceCodeRepositoryBranchHistory
- History is available for tracked fields of the object.
- SourceCodeRepositoryBranchOwnerSharingRule
- Sharing rules are available for the object.
- SourceCodeRepositoryBranchShare
- Sharing is available for the object.