Trace a deployment to its source
Find the uploaded source digest, Git commit or image digest for a deployment.
Open the deployment in the app’s history. A GitHub deployment records the resolved commit. An image deployment records the image digest. For a folder uploaded with the CLI, use the source digest to identify the files that went into that build.
Find the source for a deployment
For a folder upload, deployment history and resource review also show what the CLI could read from Git.
| Field | Meaning |
|---|---|
commit | The Git commit you were on, or null if unknown |
dirty | true if tracked files had uncommitted changes |
untrackedSource | true if the upload included files Git doesn't track |
| Source digest | A fingerprint of exactly the files that were uploaded |
A commit can have several different uploads if the checkout has local changes. You can also deploy a folder without Git. Its source digest still identifies the upload. Older CLIs may omit Git details. A rollback keeps the source history of the revision you restore.
Limits
- Commit IDs: 40 or 64 lowercase hexadecimal characters.
- The CLI gives Git 3 seconds to answer; on a very large repository the Git fields may be
null. - No local path, remote URL, branch name or status-file list is sent.