Greetings ! I am trying to create a delta artifact by using git diff between two commits in a single branch.
Running the git diff in a powershell task which i have tested and found to be working in local.
The same command wasnt working through the pipeline using a Microsoft hosted agent and I found the reason to be the checkout of the branch. It does not have the commit history … Only gets the latest i believe. When i do a git list or rev-list … and count it returns zero.
Running git fetch -all is throwing some errors . What am i missing. Please help ?