Git find modified files since <ref> from a shallow clone
问题 I'm on a CI box running tests. To speed it up, I'm just doing a shallow clone: git clone --depth 1 git@github.com:JoshCheek/some_repo.git Assuming all the tests pass, I want to trigger the next step in the pipeline. What to trigger is based on which files changed between the last d eployment (ref d123456 ) and the c urrent ref I just tested (ref c123456 ). If I had done a normal clone, I could find out like this this: git diff --name-only d123456 c123456 But my clone is shallow, so it doesn't