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‑versionN/AType: Value

Override the api version used for api requests made by this command
‑‑flags‑dirN/AType: Value

Import flag values from a directory.
‑‑jsonN/AType: Boolean

Format output as json.
‑‑no‑prompt‑pType: Boolean

Don’t prompt for source tracking override confirmation.
‑‑target‑org‑oType: 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”: