I have found some solution here: Checkout part of a branch in Azure DevOps Pipelines (GetSources)
But the concern is I am not using yml script to configure the pipeline. I have configured the pipeline like this:
I can view my yml script from here:
But not able to edit this script from there
please let me know if anyone has an idea on it.
Please add the variable Build.SyncSources = false
in your vNext build definition to disable the get sources step.
Refer to Disabling Get Sources step in vNext build for details. It's also applied to Azure DevOps Server 2019.