Getting No branch or tag or commit found with given target refs/heads/master. Please provide a different GitDiffTarget.
error when try to run Stryker with since feature for my PR in Azure Devops.
#3296
Answered
by
rouke-broersma
ParulRuchi
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
rouke-broersma
Sep 5, 2025
Replies: 1 comment 1 reply
-
Did you disable shallow fetch? Stryker needs the repo history for the Since feature. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ParulRuchi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you disable shallow fetch? Stryker needs the repo history for the Since feature.
https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema/steps-checkout?view=azure-pipelines#shallow-fetch