project delete tracking
Delete all local source tracking information.
WARNING: This command deletes or overwrites all existing source tracking files. Use with extreme caution.
Deletes all local source tracking information. When you next run ‘project deploy preview’, Salesforce CLI displays all local and remote files as changed, and any files with the same name are listed as conflicts.
force:source:tracking:clear
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
‑‑api‑version | N/A | Type: Value Override the api version used for api requests made by this command |
‑‑flags‑dir | N/A | Type: Value Import flag values from a directory. |
‑‑json | N/A | Type: Boolean Format output as json. |
‑‑no‑prompt | ‑p | Type: Boolean Don’t prompt for source tracking override confirmation. |
‑‑target‑org | ‑o | Type: Value Required Username or alias of the target org. Not required if the target-org configuration variable is already set. |
Delete local source tracking for the org with alias “my-scratch”: