Skip to content

sfdx-git-delta picking up previous delta changes #674

Answered by j-obrien97
j-obrien97 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @scolladon
Ive actually have been able to resolve my issues.
So for the "HEAD~1" format not working correctly, I needed to set my fetchDepth to 0 in the steps piece of the yaml, that corrected my post merge pipeline. I wasnt aware but in 2019(?) Azure made it so that new pipelines fetchDepth was automatically set to shallow, so this piece is a necessity :
steps:

  • checkout: self
    persistCredentials: true
    fetchDepth: 0

For the bringing back multiple changes into the delta. I found that using $(git rev-parse origin/master) is the way to go. I had been messing around with the commits but when i would try to add remotes/origin or just origin/ it was failing. But the command by itself seems…

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@scolladon
Comment options

@j-obrien97
Comment options

@scolladon
Comment options

@j-obrien97
Comment options

Answer selected by scolladon
@scolladon
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants