I have the following pipeline in my DevOps center: Test -> Acceptance -> Prod
I always create new scratch orgs from the Test branch. But all the time I create a new work item and choose my a scratch org, which has been just created from the Test branch, as a Development Environment, it shows me hundreds of files available to pull:
Every component is marked as changed. If I choose any of them and try to commit changes, I get the error:
On branch WI-000103
Your branch is up to date with 'origin/WI-000103'.
nothing to commit, working tree clean
Meaning there are no differences between the scratch org created and the metadata in the Test branch.
Is there a way to prevent it from showing these ghost changes so that the work item changes list shows only actual changes?
That is obvious because you are deployed all metadata to scratch org and the diff shows all are new. There is no other way than pulling all metadata several times